Enable F812 and H904 style check

There are no shadowed variables in list comprehensions so
F812 can be enabled.
Also enable H904 because it was removed since hacking 0.10.0 [1]

[1] http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0

Change-Id: I11e55066f2ec883c5706774d72c4f21b928ebde5
This commit is contained in:
Tetiana Lashchova 2015-09-17 14:43:16 +03:00
parent b46291aba3
commit f703e7ece9
1 changed files with 1 additions and 3 deletions

View File

@ -37,9 +37,7 @@ commands = flake8
[flake8]
# H405 multi line docstring summary not separated with an empty line
# H904 Wrap long lines in parentheses instead of a backslash
# F812 list comprehension redefines
ignore = F812,H405,H904
ignore = H405
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools