Add pre-commit hooks to ensure code formatting

develop
Chris Leaman 6 years ago
parent 0713a1302a
commit 7526ab1f3c

@ -0,0 +1,8 @@
repos:
- repo: https://github.com/ambv/black
rev: 18.9b0
hooks:
- id: black
language_version: python3.6
language: system
entry: python -m black

@ -4,6 +4,7 @@ channels:
dependencies:
- python=3.6
- attrs
- pre-commit
- autopep8
- black
- click

Loading…
Cancel
Save