Move to hacking 0.10

Release notes: http://lists.openstack.org/pipermail/openstack-dev/2015-January/054165.html

Remove deleted hacking rules from tox.ini (H803, H402, H305)

Fix minor W292 issues from new hacking.

Change-Id: I67ea3467ded1ec5b82ce03b4f65e697c3defd29a
This commit is contained in:
Joe Gordon 2015-03-24 11:40:54 -07:00
parent 426d031f4c
commit a69fe44ff1
4 changed files with 5 additions and 7 deletions

View File

@ -154,4 +154,4 @@ class EndpointNotFound(TempestException):
class InvalidCredentials(TempestException):
message = "Invalid Credentials"
message = "Invalid Credentials"

View File

@ -25,4 +25,4 @@ from tempest_lib.tests import base
class TestTempest_lib(base.TestCase):
def test_something(self):
pass
pass

View File

@ -1,7 +1,8 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=0.9.2,<0.10
hacking<0.11,>=0.10.0
coverage>=3.6
discover

View File

@ -26,13 +26,10 @@ commands = python setup.py testr --coverage --coverage-package-name='tempest_lib
commands = python setup.py build_sphinx
[flake8]
# H803 skipped on purpose per list discussion.
# E125 skipped as it is invalid PEP-8.
# 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
show-source = True
ignore = E125,H803,H402,E123,E129,H305
ignore = E125,E123,E129
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build