From f1db68d1c8426426719bffcf03bcd1d042f9bfb9 Mon Sep 17 00:00:00 2001 From: Cathy Hu Date: Thu, 2 Jul 2020 14:30:25 +0200 Subject: [PATCH] [misc] Replace flake8 with black --- tox.ini | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 6f58f74..5539521 100644 --- a/tox.ini +++ b/tox.ini @@ -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