Enable flake8 warning for "list comprehension redefines 'foo' from line N" (F812)

This commit is contained in:
practicalswift 2018-01-29 16:04:43 +01:00
parent 9cf6393a4f
commit 0b9207efbe
1 changed files with 2 additions and 1 deletions

View File

@ -7,4 +7,5 @@
# Check for specified flake8 warnings in python files. # Check for specified flake8 warnings in python files.
# F401: module imported but unused # 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 .