mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-18 20:10:12 +01:00
doc: add pre-commit info to readme
This commit is contained in:
parent
e9faecf39a
commit
9278e52fc7
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -67,6 +67,25 @@ Dieses Repository nutzt zur Verwaltung von großen Binärdaten (Bilder und PDFs)
|
|||
|
||||
Die Arbeit mit den Dateien ändert sich durch die Verwendung von git-lfs nicht.
|
||||
|
||||
## pre-commit
|
||||
|
||||
Dieses Reoisitory nutzt [pre-commit](https://pre-commit.com/), um git pre-commit-hooks auszuführen.
|
||||
|
||||
### [Installation](https://pre-commit.com/#installation)
|
||||
|
||||
```bash
|
||||
# install package
|
||||
pip install pre-commit
|
||||
# install pre-commit-hooks in repo
|
||||
pre-commit install
|
||||
# run (new) hooks against all files in repo
|
||||
pre-commit run --all-files
|
||||
```
|
||||
|
||||
### Genutzte hooks
|
||||
|
||||
Siehe [.pre-commit-config.yaml](./.pre-commit-config.yaml)
|
||||
|
||||
## License
|
||||
|
||||
© Netz39 e.V
|
||||
|
|
Loading…
Reference in a new issue