Enable H233

H233 (and H402) were temporarily disabled as part of the migration to
hacking 0.9. This patch fixes all H233 issues and re-enables
gating on them.

H402 has been removed in hacking
(I9426644fa708e9d5563abe04dc4ad656dbeb3656) so leave this one off as its
going away anyway.

Change-Id: Iae8f132c66c5e345dc2e9c2464f67609887c1475
This commit is contained in:
Joe Gordon 2014-06-16 00:03:06 -07:00 committed by Christian Berendt
parent 5095d276ef
commit 4d2586716a
3 changed files with 4 additions and 4 deletions

View File

@ -507,7 +507,7 @@ def _poll_for_status(poll_fn, obj_id, action, final_ok_states,
sys.stdout.flush()
if not silent:
print
print()
while True:
obj = poll_fn(obj_id)

View File

@ -353,7 +353,7 @@ def _poll_for_status(poll_fn, obj_id, action, final_ok_states,
sys.stdout.flush()
if not silent:
print
print()
while True:
obj = poll_fn(obj_id)

View File

@ -27,7 +27,7 @@ downloadcache = ~/cache/pip
[flake8]
# TODO fix following rules from hacking 0.9
# E131,E265,H233,H402,H405,H904
ignore = E12,E131,E265,F811,F821,H233,H302,H402,H404,H405,H904
# E131,E265,H402,H405,H904
ignore = E12,E131,E265,F811,F821,H302,H402,H404,H405,H904
show-source = True
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build