From cd0e1eed55256f523225a06477b40b0bca5505cc Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Thu, 3 Jul 2014 20:46:12 -0600 Subject: [PATCH] H405 activate Activate H405 tests. Change-Id: I50266114b4fec3cfeeb86b44fc555d20d76ebca6 --- openstack/tests/auth/identity/utils.py | 4 +++- tox.ini | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/openstack/tests/auth/identity/utils.py b/openstack/tests/auth/identity/utils.py index 7aecd189..7bfc3f63 100644 --- a/openstack/tests/auth/identity/utils.py +++ b/openstack/tests/auth/identity/utils.py @@ -115,7 +115,9 @@ if tuple(sys.version_info)[0:2] < (2, 7): class TestResponse(requests.Response): - """Class used to wrap requests.Response and provide some + """Test implementation of requests.Response + + Class used to wrap requests.Response and provide some convenience to initialize with a dict. """ diff --git a/tox.ini b/tox.ini index b0e346b1..cc13ca16 100644 --- a/tox.ini +++ b/tox.ini @@ -22,10 +22,10 @@ commands = {posargs} commands = python setup.py testr --coverage --testr-args='{posargs}' [flake8] -# H404, H405 are docstring rules that were not followed at the time of their -# addition, feel free to fix +# H404 is a docstring rule that is not followed at this time, but +# feel free to fix # H803 skipped on purpose per list discussion. # E123, E125 skipped as they are invalid PEP-8. show-source = True -ignore = E123,E125,H404,H405,H803 +ignore = E123,E125,H404,H803 exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build