Enable F841

F841 detects local variable is assigned to but never used.
This commit fixes the violations and enables F841 in gate.

Change-Id: Ic4dcac2733dfe334009327ac17aa3952cafaa63a
This commit is contained in:
ChangBo Guo(gcb)
2014-06-17 15:56:47 +08:00
parent d613adc434
commit 1db17aaad9
8 changed files with 42 additions and 48 deletions
+1 -1
View File
@@ -32,6 +32,6 @@ downloadcache = ~/cache/pip
# H302 import only modules
# H303 no wildcard import
# H404 multi line docstring should start with a summary
ignore = F403,F841,F812,F821,H233,H302,H303,H404
ignore = F403,F812,F821,H233,H302,H303,H404
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build