Skip to content

Commit

Permalink
doc: add pre-commit info to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
24367dfa committed Feb 4, 2024
1 parent e9faecf commit 9278e52
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9278e52

Please sign in to comment.