mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-22 11:32:53 +02:00
Added poetry install to the pre-commit hooks. (#329)
This commit is contained in:
parent
c4649f1594
commit
4323522b96
@ -1,3 +1,6 @@
|
|||||||
|
default_language_version:
|
||||||
|
python: python3.11
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v4.5.0
|
||||||
@ -82,6 +85,8 @@ repos:
|
|||||||
rev: 1.7.0
|
rev: 1.7.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: poetry-check
|
- id: poetry-check
|
||||||
|
- id: poetry-install
|
||||||
|
# `pre-commit install --install-hooks -t post-checkout -t post-merge` to activate
|
||||||
|
|
||||||
- repo: https://github.com/Lucas-C/pre-commit-hooks-java
|
- repo: https://github.com/Lucas-C/pre-commit-hooks-java
|
||||||
rev: 1.3.10
|
rev: 1.3.10
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
- [Generate an SSH Key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) & [Add SSH Key to GitHub](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)
|
- [Generate an SSH Key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) & [Add SSH Key to GitHub](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)
|
||||||
- [Clone the Project (IDE Specific)](https://docs.github.com/de/repositories/creating-and-managing-repositories/cloning-a-repository)
|
- [Clone the Project (IDE Specific)](https://docs.github.com/de/repositories/creating-and-managing-repositories/cloning-a-repository)
|
||||||
- [Install the python Project](https://python-poetry.org/docs/basic-usage/#installing-dependencies)
|
- [Install the python Project](https://python-poetry.org/docs/basic-usage/#installing-dependencies)
|
||||||
- [Install pre-commit](https://pre-commit.com/#install)
|
|
||||||
|
|
||||||
## Repository structure
|
## Repository structure
|
||||||
|
|
||||||
@ -54,6 +53,7 @@ We decided to use english on everything close to code but will write longer text
|
|||||||
german.
|
german.
|
||||||
|
|
||||||
## Pre-Commit Usage
|
## Pre-Commit Usage
|
||||||
|
- [Install pre-commit](https://pre-commit.com/#install) `pre-commit install --install-hooks -t post-checkout -t post-merge -t pre-commit`
|
||||||
|
|
||||||
- the following code format rules are so enforced:
|
- the following code format rules are so enforced:
|
||||||
- Whitespace formatting:
|
- Whitespace formatting:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user