Use flake8-isort plugin rather than isort
Simpler to use and has color output
This commit is contained in:
parent
5f6b751664
commit
c401417ff4
|
@ -79,10 +79,7 @@ no-x11 {
|
||||||
|
|
||||||
# Add `make test` command
|
# Add `make test` command
|
||||||
|
|
||||||
test.commands = echo &&
|
test.commands = flake8 src/backend && mypy --pretty src/backend
|
||||||
test.commands += flake8 src/backend &&
|
|
||||||
test.commands += isort --check-only $$glob_filenames(*.py) &&
|
|
||||||
test.commands += mypy --pretty src/backend
|
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += test
|
QMAKE_EXTRA_TARGETS += test
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@ remote_pdb >= 2.0.0, < 3
|
||||||
pdbpp >= 0.10.2, < 0.11
|
pdbpp >= 0.10.2, < 0.11
|
||||||
pprintpp >= 0.4.0, < 0.5
|
pprintpp >= 0.4.0, < 0.5
|
||||||
|
|
||||||
isort >= 5.6.4, < 6
|
|
||||||
mypy >= 0.790, < 0.800
|
mypy >= 0.790, < 0.800
|
||||||
flake8 >= 3.8.4, < 4
|
flake8 >= 3.8.4, < 4
|
||||||
|
flake8-isort >= 4.0.0, < 5
|
||||||
flake8-bugbear >= 20.1.4, < 21
|
flake8-bugbear >= 20.1.4, < 21
|
||||||
flake8-commas >= 2.0.0, < 3
|
flake8-commas >= 2.0.0, < 3
|
||||||
flake8-comprehensions >= 3.3.0, < 4
|
flake8-comprehensions >= 3.3.0, < 4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user