Unified black conf
This commit is contained in:
parent
3501e8ca56
commit
302031b4e3
|
@ -114,7 +114,7 @@ black:
|
||||||
before_script:
|
before_script:
|
||||||
- pip install black
|
- pip install black
|
||||||
script:
|
script:
|
||||||
- black --exclude "/(\.git|\.hg|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist|migrations)/" --check --diff api/
|
- black --check --diff api/
|
||||||
|
|
||||||
flake8:
|
flake8:
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
|
|
|
@ -41,3 +41,6 @@
|
||||||
directory = "misc"
|
directory = "misc"
|
||||||
name = "Other"
|
name = "Other"
|
||||||
showcontent = true
|
showcontent = true
|
||||||
|
|
||||||
|
[tool.black]
|
||||||
|
exclude = "(.git|.hg|.mypy_cache|.tox|.venv|_build|buck-out|build|dist|migrations)"
|
||||||
|
|
Loading…
Reference in New Issue