1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-06-26 12:09:55 +02:00

⚙ Add pre-commit config + docs

This commit is contained in:
Mike Gerber 2025-06-13 18:15:42 +02:00
parent 76b36cb0ca
commit 62a02ff7e4
4 changed files with 85 additions and 0 deletions

View file

@ -15,3 +15,10 @@ To run a test with profiling:
```
pytest --profile-svg -k test_page_info
```
# How to use pre-commit
This project optionally uses [pre-commit](https://pre-commit.com) to check commits. To use it:
- Install pre-commit, e.g. `pip install -r requirements-dev.txt`
- Install the repo-local git hooks: `pre-commit install`