[misc] Replace flake8 with black
This commit is contained in:
parent
9df83cd6e0
commit
f1db68d1c8
10
tox.ini
10
tox.ini
|
@ -1,15 +1,13 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py38, flake8, pytest
|
envlist = py38, black, pytest
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = .
|
deps = .
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:black]
|
||||||
deps = flake8
|
deps = black
|
||||||
exclude = .tox
|
|
||||||
commands =
|
commands =
|
||||||
flake8 kibicara tests --count --select=E9,F63,F7,F82 --show-source --statistics
|
black -S --check --diff kibicara tests
|
||||||
flake8 kibicara tests --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
||||||
|
|
||||||
[testenv:pytest]
|
[testenv:pytest]
|
||||||
deps = pytest
|
deps = pytest
|
||||||
|
|
Loading…
Reference in a new issue