Clean up removed hacking rule from [flake8] ignore lists

We bump hacking>=0.10.0, and hacking removed some rules, for
the full list of rules please see [1]. So don't need them any more.

Hacking related commits:
Remove H904 in commit b1fe19ebebe47a36b905d709467f5e82521bbd96
Remove H803 in commit f01ce4fd822546cbd52a0aedc49184bddbfe1b10
Remove H307 in commit ec4833b206c23b0b6f9c6b101c70ab925a5e9c67
Remove H305 in commit 8f1fcbdb9aa4fc61349e5e879153c722195b1233

[1]https://github.com/openstack-dev/hacking/blob/master/setup.cfg#L30

Change-Id: Ifcbb505053acfdb3d69caf088f34f391a72cb637
This commit is contained in:
ChangBo Guo(gcb)
2016-01-14 15:25:09 +08:00
parent 185c10a36b
commit cc7400ad55

View File

@@ -25,13 +25,11 @@ deps = -r{toxinidir}/test-requirements.txt
commands = bandit -c bandit.yaml -r oslo_log -n5 -p gate
[flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.
# H305 skipped b/c of hacking is confused with oslo.* namespace
show-source = True
ignore = E123,E125,H305,H307,H405,H803,H904
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,__init__.py
ignore = E123,E125,H405
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
[hacking]
import_exceptions = oslo_log._i18n