Switch to Hacking 0.8.x

Blacklist the few hacking warnings that still trigger, those
can be fixed in a followup commit. Start Gating on the new
tests of Hacking 0.8.x (which are all passing here).

Change-Id: I3be1a9a517ec399dd92252a7c705d1a7a6d5e4c2
This commit is contained in:
Dirk Mueller 2014-01-08 00:48:26 +01:00
parent 485983c356
commit 17f4c09d0a
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Hacking already pins down pep8, pyflakes and flake8
hacking>=0.5.6,<0.8
hacking>=0.8.0,<0.9
# For translations processing
Babel>=1.3

View File

@ -33,9 +33,12 @@ commands = {posargs}
# F821 undefined name 'name'
# F841 local variable 'name' assigned but never used
# H202 assertRaises Exception too broad
# H301 one import per line
# H302 import only modules
# H402 one line docstring needs punctuation.
# H404 multi line docstring should start with a summary
# H501 do not use locals() for string formatting
# H703 multiple positional placeholders
ignore = E711,E712,F821,F841,H202,H402,H404,H703
ignore = E711,E712,F821,F841,H202,H301,H302,H402,H404,H501,H703
builtins = _
exclude = .venv,.git,.tox,dist,doc,etc,*glance/locale*,*openstack/common*,*lib/python*,*egg,build