kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Merge branch 'better-black-conf' into 'develop'
Unified black conf See merge request funkwhale/funkwhale!675merge-requests/757/head
commit
666409dce0
|
@ -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)"
|
||||||
|
|
Ładowanie…
Reference in New Issue