Configure pre-commit hooks and make them a dev dependency

pull/699/head
Tim Head 2019-05-31 09:50:26 +02:00
rodzic 80fbc63925
commit 32b32bf1d9
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,5 @@
repos:
- repo: https://github.com/ambv/black
rev: 18.9b0
hooks:
- id: black

Wyświetl plik

@ -1,6 +1,7 @@
# Note that there is also a Pipfile for this project if you are updating this
# Note that there is also a Pipfile for this project if you are updating this
# file do not forget to update the Pipfile accordingly
pyyaml
pytest>=3.6
wheel
pytest-cov
pre-commit