[misc] Replace flake8 with black

This commit is contained in:
Cathy Hu 2020-07-02 14:30:25 +02:00
parent 9df83cd6e0
commit f1db68d1c8

10
tox.ini
View file

@ -1,15 +1,13 @@
[tox]
envlist = py38, flake8, pytest
envlist = py38, black, pytest
[testenv]
deps = .
[testenv:flake8]
deps = flake8
exclude = .tox
[testenv:black]
deps = black
commands =
flake8 kibicara tests --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 kibicara tests --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
black -S --check --diff kibicara tests
[testenv:pytest]
deps = pytest