From b071d75ed777968e05fcac6843966776221c82dd Mon Sep 17 00:00:00 2001 From: LiuNanke Date: Thu, 14 Jan 2016 16:53:10 +0800 Subject: [PATCH] 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: I58939d1887bfdbcd77ede14d02a489376bf6fc62 --- tox.ini | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index bc548bf4..fbbc32d7 100644 --- a/tox.ini +++ b/tox.ini @@ -39,15 +39,12 @@ commands = python setup.py build_sphinx # 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 -# H307 like imports should be grouped together # H402 one line docstring needs punctuation -# H904 Wrap long lines in parentheses instead of a backslash -ignore = E125,E126,E128,E129,E265,H301,H305,H307,H402,H904 +ignore = E125,E126,E128,E129,E265,H301,H402 show-source = true # TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack -exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron/tests/unit/vmware* +exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron/tests/unit/vmware* [testenv:pylint] deps =