use flake8 to lint for a few things black doesn't catch

black does *not* warn about missing or extraneous imports,
so let's bring back flake8 in our linting to check for them
This commit is contained in:
Ryan Petrello
2021-04-12 12:47:42 -04:00
parent 311c44341e
commit 300f5a3a1f
24 changed files with 13 additions and 46 deletions

View File

@@ -2,10 +2,12 @@
deps =
make
black
flake8
yamllint
allowlist_externals = make
setenv =
BLACK_ARGS = --check
commands =
make black
flake8 awx --select=F401,F402,F821,F823,F841
yamllint -s .