summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Gordon <joe.gordon0@gmail.com>2015-03-24 11:40:54 -0700
committerJoe Gordon <joe.gordon0@gmail.com>2015-03-24 11:40:54 -0700
commita69fe44ff142b27b9a0dbcf643dc92a29a2a26bc (patch)
tree9e451a167345166179f12ea1f277f4b921221aef
parent426d031f4c2dcfe0210c857140aa7789c75c2099 (diff)
downloadtempest-lib-a69fe44ff142b27b9a0dbcf643dc92a29a2a26bc.tar.gz
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
-rw-r--r--tempest_lib/exceptions.py2
-rw-r--r--tempest_lib/tests/test_tempest_lib.py2
-rw-r--r--test-requirements.txt3
-rw-r--r--tox.ini5
4 files changed, 5 insertions, 7 deletions
diff --git a/tempest_lib/exceptions.py b/tempest_lib/exceptions.py
index ba368a5..07952b6 100644
--- a/tempest_lib/exceptions.py
+++ b/tempest_lib/exceptions.py
@@ -154,4 +154,4 @@ class EndpointNotFound(TempestException):
class InvalidCredentials(TempestException):
- message = "Invalid Credentials" \ No newline at end of file
+ message = "Invalid Credentials"
diff --git a/tempest_lib/tests/test_tempest_lib.py b/tempest_lib/tests/test_tempest_lib.py
index 8f75057..76d74a6 100644
--- a/tempest_lib/tests/test_tempest_lib.py
+++ b/tempest_lib/tests/test_tempest_lib.py
@@ -25,4 +25,4 @@ from tempest_lib.tests import base
class TestTempest_lib(base.TestCase):
def test_something(self):
- pass \ No newline at end of file
+ pass
diff --git a/test-requirements.txt b/test-requirements.txt
index aed1f05..edaf276 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -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
diff --git a/tox.ini b/tox.ini
index d2de02c..708c613 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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