Skip to content

Commit 0b9207e

Browse files
Enable flake8 warning for "list comprehension redefines 'foo' from line N" (F812)
1 parent 9cf6393 commit 0b9207e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/devtools/lint-python.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
# Check for specified flake8 warnings in python files.
88

99
# F401: module imported but unused
10-
flake8 --ignore=B,C,E,F,I,N,W --select=F401 .
10+
# F812 list comprehension redefines 'foo' from line N
11+
flake8 --ignore=B,C,E,F,I,N,W --select=F401,F812 .

0 commit comments

Comments
 (0)