Disable hacking rule H305

This commit disables the H305 rule because it is inconsistent between
python releases. Additionally while the logical grouping is a good
thing in most cases it can be excessive to enforce sometimes. Having
reviewers attempt to catch it in most cases should be sufficient.

Change-Id: I7530fe2295c4260a20f8cdd1f853611a9a6b2f99
This commit is contained in:
Matthew Treinish 2014-08-15 14:19:03 -04:00
parent 4f44d72d9c
commit 75d540db2e

View File

@ -111,7 +111,8 @@ import_exceptions = tempest.services
# H402 skipped because some docstrings aren't sentences
# E123 skipped because it is ignored by default in the default pep8
# E129 skipped because it is too limiting when combined with other rules
# H305 skipped because it is inconsistent between python versions
# Skipped because of new hacking 0.9: H405,H904
ignore = E125,H402,E123,E129,H404,H405,H904
ignore = E125,H402,E123,E129,H404,H405,H904,H305
show-source = True
exclude = .git,.venv,.tox,dist,doc,openstack,*egg