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: Ife6c13ec45d30a8f3a8500bbb545a43ab7d6476f
This commit is contained in:
parent
ec4499adb9
commit
bf3cf402d5
5
tox.ini
5
tox.ini
|
@ -78,14 +78,13 @@ commands = {[testenv:py34]commands}
|
|||
# E128 continuation line under-indented for visual indent
|
||||
# E129 visually indented line with same indent as next logical line
|
||||
# E265 block comment should start with ‘# ‘
|
||||
# H305 imports not grouped correctly
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
# TODO(marun) H404 multi line docstring should start with a summary
|
||||
# N324 contextlib.nested is deprecated
|
||||
ignore = E125,E126,E128,E129,E265,H305,H404,H405,N324
|
||||
ignore = E125,E126,E128,E129,E265,H404,H405,N324
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron_lbaas/tests/tempest/lib,neutron_lbaas/tests/tempest/v1/api
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron_lbaas/tests/tempest/lib,neutron_lbaas/tests/tempest/v1/api
|
||||
|
||||
[hacking]
|
||||
import_exceptions = neutron_lbaas._i18n
|
||||
|
|
Loading…
Reference in New Issue