diff --git a/tests/unit/test_swift_store.py b/tests/unit/test_swift_store.py index 1724172b..6815f80c 100644 --- a/tests/unit/test_swift_store.py +++ b/tests/unit/test_swift_store.py @@ -1127,7 +1127,7 @@ class TestChunkReader(base.StoreBaseTest): def setUp(self): super(TestChunkReader, self).setUp() conf = copy.deepcopy(SWIFT_CONF) - store = Store(self.conf) + Store(self.conf) self.config(**conf) def test_read_all_data(self): diff --git a/tox.ini b/tox.ini index eb9f3373..d7937579 100644 --- a/tox.ini +++ b/tox.ini @@ -29,9 +29,8 @@ commands = {posargs} # TODO(dmllr): Analyze or fix the warnings blacklisted below # E711 comparison to None should be 'if cond is not None:' # E712 comparison to True should be 'if cond is True:' or 'if cond:' -# F841 local variable 'name' assigned but never used # H301 one import per line # H404 multi line docstring should start with a summary -ignore = E711,E712,F841,H301,H404 +ignore = E711,E712,H301,H404 builtins = _ exclude = .venv,.git,.tox,dist,doc,etc,*glance_store/locale*,*openstack/common*,*lib/python*,*egg,build