Use flake8-isort plugin rather than isort

Simpler to use and has color output
This commit is contained in:
miruka 2020-11-15 16:13:42 -04:00
parent 5f6b751664
commit c401417ff4
2 changed files with 2 additions and 5 deletions

View File

@ -79,10 +79,7 @@ no-x11 {
# Add `make test` command
test.commands = echo &&
test.commands += flake8 src/backend &&
test.commands += isort --check-only $$glob_filenames(*.py) &&
test.commands += mypy --pretty src/backend
test.commands = flake8 src/backend && mypy --pretty src/backend
QMAKE_EXTRA_TARGETS += test

View File

@ -2,9 +2,9 @@ remote_pdb >= 2.0.0, < 3
pdbpp >= 0.10.2, < 0.11
pprintpp >= 0.4.0, < 0.5
isort >= 5.6.4, < 6
mypy >= 0.790, < 0.800
flake8 >= 3.8.4, < 4
flake8-isort >= 4.0.0, < 5
flake8-bugbear >= 20.1.4, < 21
flake8-commas >= 2.0.0, < 3
flake8-comprehensions >= 3.3.0, < 4