File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/psf/black
3+ rev : 22.10.0
4+ hooks :
5+ - id : black
6+ - repo : https://github.com/pycqa/flake8
7+ rev : 6.0.0
8+ hooks :
9+ - id : flake8
10+ files : ' (src|scripts|conftest.py)'
Original file line number Diff line number Diff line change @@ -179,6 +179,13 @@ virtual env and run::
179179 pip install -r requirements.d/development.txt
180180
181181
182+ This project utilizes pre-commit to format and lint code before it is committed.
183+ Although pre-commit is installed when running the command above, the pre-commit hooks
184+ will have to be installed separately. Run this command to install the pre-commit hooks::
185+
186+ pre-commit install
187+
188+
182189Running the tests
183190-----------------
184191
Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ pytest-cov
1010pytest-benchmark
1111Cython
1212twine
13+ pre-commit
You can’t perform that action at this time.
0 commit comments