summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorCindy Pallares <cindy.pallaresq@gmail.com>2015-05-19 19:59:06 -0500
committerCindy Pallares <cindy.pallaresq@gmail.com>2015-06-17 10:56:37 -0500
commit997c12d3abfd9a571a4e8f0b022dfb1d27c62edb (patch)
tree5ab2346452416876492d076c33dbb1c29db9edc9 /tox.ini
parent71d852836474f59f10a7bb9883f6dcecc56e5675 (diff)
downloadpython-glanceclient-997c12d3abfd9a571a4e8f0b022dfb1d27c62edb.tar.gz
Import only modules and update tox.ini
As stated in the OpenStack Hacking Guidelines, it is prefered that only modules should be imported. Also updated tox.ini to ignore opestack/common among others. Change-Id: I2f0a603c31052eadee581c11880c0ec6bd392829
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 5 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 5a8b3fd..74cf84c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,7 +37,6 @@ downloadcache = ~/cache/pip
[flake8]
# H233 Python 3.x incompatible use of print operator
-# H302 import only modules
# H303 no wildcard import
# H404 multi line docstring should start with a summary
@@ -49,6 +48,9 @@ downloadcache = ~/cache/pip
# H238 old style class declaration, use new style (inherit from `object`)
# E128 continuation line under-indented for visual indent
-ignore = F403,F812,F821,H233,H302,H303,H404,E265,H405,E123,H238,E128
+ignore = F403,F812,F821,H233,H303,H404,E265,H405,E123,H238,E128
show-source = True
-exclude = .venv,.tox,dist,*egg,build
+exclude = .venv*,.tox,dist,*egg,build,.git,doc,*openstack/common*,*lib/python*,.update-venv
+
+[hacking]
+import_exceptions = six.moves