diff --git a/oslo/config/generator.py b/oslo/config/generator.py index 57c70bde..b94df671 100644 --- a/oslo/config/generator.py +++ b/oslo/config/generator.py @@ -109,7 +109,7 @@ import sys import textwrap from oslo.config import cfg -import stevedore.named +import stevedore.named # noqa LOG = logging.getLogger(__name__) diff --git a/tests/test_cfg.py b/tests/test_cfg.py index 268565fb..9e983919 100644 --- a/tests/test_cfg.py +++ b/tests/test_cfg.py @@ -22,12 +22,12 @@ import tempfile import fixtures import mock +from oslotest import base import six from six import moves import testscenarios from oslo.config import cfg -from oslotest import base load_tests = testscenarios.load_tests_apply_scenarios diff --git a/tox.ini b/tox.ini index 52c13ccf..ce20147a 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,5 @@ commands = python setup.py build_sphinx [flake8] show-source = True -ignore = H305 exclude = .tox,dist,doc,*.egg,build builtins = _