1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 16:09:44 +00:00

Add pre-commit hooks

This commit is contained in:
Emma 2019-07-22 13:05:18 -06:00
parent 7cccb8fe84
commit 072a972e99
2 changed files with 14 additions and 0 deletions

10
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,10 @@
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.6
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: flake8

4
requirements-dev.txt Normal file
View file

@ -0,0 +1,4 @@
pytest
coverage
pre-commit
-e .