aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-01-29 16:04:43 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2018-01-29 20:23:58 +0100
commit0b9207efbe9403225480284298fccc3a2652e895 (patch)
treea1b4e5b2c74193ea7ecb51c6102d3e21ff3e9479 /contrib/devtools
parent9cf6393a4f82b9c81d3b4b468a17a89db10531a2 (diff)
Enable flake8 warning for "list comprehension redefines 'foo' from line N" (F812)
Diffstat (limited to 'contrib/devtools')
-rwxr-xr-xcontrib/devtools/lint-python.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/devtools/lint-python.sh b/contrib/devtools/lint-python.sh
index 9303fcc8ef..ef7dec769b 100755
--- a/contrib/devtools/lint-python.sh
+++ b/contrib/devtools/lint-python.sh
@@ -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 .