Merge branch 'better-black-conf' into 'develop'

Unified black conf

See merge request funkwhale/funkwhale!675
merge-requests/757/head
Eliot Berriot 2019-03-15 12:11:05 +01:00
commit 666409dce0
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -114,7 +114,7 @@ black:
before_script:
- pip install black
script:
- black --exclude "/(\.git|\.hg|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist|migrations)/" --check --diff api/
- black --check --diff api/
flake8:
image: python:3.6

Wyświetl plik

@ -41,3 +41,6 @@
directory = "misc"
name = "Other"
showcontent = true
[tool.black]
exclude = "(.git|.hg|.mypy_cache|.tox|.venv|_build|buck-out|build|dist|migrations)"