Enable flake8 warning for "list comprehension redefines 'foo' from line N" (F812)
This commit is contained in:
parent
9cf6393a4f
commit
0b9207efbe
1 changed files with 2 additions and 1 deletions
|
@ -7,4 +7,5 @@
|
|||
# Check for specified flake8 warnings in python files.
|
||||
|
||||
# F401: module imported but unused
|
||||
flake8 --ignore=B,C,E,F,I,N,W --select=F401 .
|
||||
# F812 list comprehension redefines 'foo' from line N
|
||||
flake8 --ignore=B,C,E,F,I,N,W --select=F401,F812 .
|
||||
|
|
Loading…
Reference in a new issue