Fix pylint checks

Change-Id: I8140a0b474d6a06e372683523cb5918059a03ae5
Partial-Bug: #1696455
This commit is contained in:
Saad Zaher 2017-06-07 16:08:52 +01:00
parent 3a6ec7c213
commit 7ec7d039bf
4 changed files with 4 additions and 6 deletions

View File

@ -44,7 +44,7 @@ symbols=no
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=W,C,R,E1002
disable=W,C,R,E1002,no-member
[REPORTS]

View File

@ -427,10 +427,7 @@ class FakeReqResp(object):
class FreezerBaseTestCase(testtools.TestCase):
def setUp(self):
try:
super(FreezerBaseTestCase, self).setUp()
except Exception:
super().setUp()
super(FreezerBaseTestCase, self).setUp()
self._config_fixture = self.useFixture(cfg_fixture.Config())
config.parse_args(args=[])

View File

@ -9,6 +9,7 @@ Paste # MIT
PasteDeploy>=1.5.0 # MIT
oslo.config>=4.0.0 # Apache-2.0
oslo.context>=2.14.0 # Apache-2.0
oslo.db>=4.21.1 # Apache-2.0
oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
oslo.log>=3.22.0 # Apache-2.0
oslo.middleware>=3.27.0 # Apache-2.0

View File

@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
astroid<1.4.0 # LGPLv2.1 # breaks pylint 1.4.4
flake8<2.6.0,>=2.5.4 # MIT
pylint==1.4.5 # GPLv2
pylint==1.7.1 # GPLv2
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0 # BSD