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:
parent
76b36cb0ca
commit
62a02ff7e4
4 changed files with 85 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue