add pre-commit config for auto black
This commit is contained in:
parent
377a77143c
commit
3d790c33cb
7
.pre-commit-config.yaml
Normal file
7
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
repos:
|
||||||
|
- repo: "https://github.com/ambv/black"
|
||||||
|
rev: "stable"
|
||||||
|
hooks:
|
||||||
|
- id: "black"
|
||||||
|
language_version: "python3.7"
|
||||||
|
|
|
@ -4,3 +4,5 @@ django-debug-toolbar==2.1
|
||||||
factory_boy==2.12.0
|
factory_boy==2.12.0
|
||||||
coverage==4.5.4
|
coverage==4.5.4
|
||||||
codecov==2.0.15
|
codecov==2.0.15
|
||||||
|
black==19.10b0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue