From 4a7913d2f1c7894168f845f60a87ba8d9401d322 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Tue, 15 Oct 2013 08:22:01 -0700 Subject: [PATCH] Disable H302 check for importing modules only This check is not one that really helps readability much, and usually it hurts readability. In particular it makes using the six library more difficult as some things that would normally be modules are just classes now, but are used in exactly the same way. Change-Id: I4609f8b82aff396bd907c32121d6e74f60be55f3 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9f79b8f..23a364e 100644 --- a/tox.ini +++ b/tox.ini @@ -29,7 +29,9 @@ commands = coverage erase [tox:jenkins] downloadcache = ~/cache/pip +# H302 - ignored because it interferes more than it helps, and uses +# suspect methods in its implementation anyway. [flake8] -ignore = +ignore = H302 show-source = True exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build