diff options
author | Cindy Pallares <cindy.pallaresq@gmail.com> | 2015-05-19 19:59:06 -0500 |
---|---|---|
committer | Cindy Pallares <cindy.pallaresq@gmail.com> | 2015-06-17 10:56:37 -0500 |
commit | 997c12d3abfd9a571a4e8f0b022dfb1d27c62edb (patch) | |
tree | 5ab2346452416876492d076c33dbb1c29db9edc9 /tox.ini | |
parent | 71d852836474f59f10a7bb9883f6dcecc56e5675 (diff) | |
download | python-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.ini | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |