From 52b0e6406f93b67486e21af1b46f64e719b1700b Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Mon, 31 Mar 2014 17:17:44 -0400 Subject: [PATCH] Enable hacking H301 check This commit enables the H301 hacking rule by removing all the multiple imports in a single line from neutron. Partial-Bug: #1291032 Change-Id: I7ba7f82fb36a433d73190eb3d568b6961ccb57c6 --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index a5a6600d8..ae96483a9 100644 --- a/tox.ini +++ b/tox.ini @@ -41,10 +41,9 @@ commands = {posargs} # E711/E712 comparison to False should be 'if cond is False:' or 'if not cond:' # query = query.filter(Component.disabled == False) # E125 continuation line does not distinguish itself from next logical line -# H301 one import per line # H302 import only modules # TODO(marun) H404 multi line docstring should start with a summary -ignore = E711,E712,E125,H301,H302,H404 +ignore = E711,E712,E125,H302,H404 show-source = true builtins = _ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools