Enable F841 check

Change-Id: I57f085fc265078c5d04c0636b6ecf9bdd524b900
This commit is contained in:
Oleksii Chuprykov 2014-09-23 17:24:46 +03:00
parent 56af7fd60c
commit f8d493bceb
2 changed files with 2 additions and 3 deletions

View File

@ -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):

View File

@ -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