From a14653b2551633f55ad3ad7c6040e924a75e5508 Mon Sep 17 00:00:00 2001 From: Maciej Kucia Date: Sun, 21 May 2017 23:25:01 +0200 Subject: [PATCH] Stop ignoring H904 hacking rule in tox This change is one in the series of changes to align os-brick with Cinder rules. - H904 'Wrap long lines in parentheses instead of a backslash' See following for more information: https://github.com/openstack-dev/hacking Change-Id: Ia08ce1b9cdab968c0965bc04aa7d202190cb4bb3 Signed-off-by: Maciej Kucia --- tox.ini | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 5509599..0514707 100644 --- a/tox.ini +++ b/tox.ini @@ -70,15 +70,12 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen # H803 git commit title should not end with period # reason: removed in hacking (https://review.openstack.org/#/c/101498/) # -# H904 wrap long lines in parentheses instead of a backslash -# reason: removed in hacking (https://review.openstack.org/#/c/101701/) -# # Due to the upgrade to hacking 0.9.2 the following checking are # ignored on purpose for the moment and should be re-enabled. show-source = True -ignore = E251,H904 +ignore = E251 builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build max-complexity=30