Fix F812 PEP8 error
One file was redefining a variable, thus exposing this PEP8 error: F812 list comprehension redefines 'n' from line 1868 This fixes it and enables the check in tox.ini. Change-Id: Ifa9a2365160db1b8ec80b274f3458cea6bd1f653
This commit is contained in:
parent
484102119a
commit
b1f1252929
2
tox.ini
2
tox.ini
|
@ -47,7 +47,7 @@ commands = {posargs}
|
|||
[flake8]
|
||||
# E711: ignored because it is normal to use "column == None" in sqlalchemy
|
||||
# TODO(yuriyz): Analyze or fix the warnings blacklisted below
|
||||
ignore = E12,E111,E113,E131,E265,E711,F812
|
||||
ignore = E12,E111,E113,E131,E265,E711
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,*ironic/nova*
|
||||
|
||||
[hacking]
|
||||
|
|
Loading…
Reference in New Issue