diff --git a/tackerclient/tests/unit/test_cli10.py b/tackerclient/tests/unit/test_cli10.py index 6c0d9028..60aa0d10 100644 --- a/tackerclient/tests/unit/test_cli10.py +++ b/tackerclient/tests/unit/test_cli10.py @@ -46,7 +46,7 @@ def capture_std_streams(): sys.stdout, sys.stderr = stdout, stderr -class FakeStdout: +class FakeStdout(object): def __init__(self): self.content = [] diff --git a/tackerclient/tests/unit/test_validators.py b/tackerclient/tests/unit/test_validators.py index bc9d7452..ada6faaf 100644 --- a/tackerclient/tests/unit/test_validators.py +++ b/tackerclient/tests/unit/test_validators.py @@ -19,7 +19,7 @@ from tackerclient.common import exceptions from tackerclient.common import validators -class FakeParsedArgs(): +class FakeParsedArgs(object): pass diff --git a/tox.ini b/tox.ini index 950bd89f..e5c72897 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}' [flake8] # E125 continuation line does not distinguish itself from next logical line # H302 import only modules -# H238 old style class declaration, use new style (inherit from `object`) -ignore = E125,H302,H238 +ignore = E125,H302 show-source = true exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools