Fix pep8 test
Also adding E741 to ignore list. Change-Id: Iedd6daa7c45fdbe53e9fefcd84ce65f6cc33514d
This commit is contained in:
parent
68b8aea738
commit
98e907ec5a
|
@ -62,7 +62,7 @@ class StorageTestCase(base.TestCase):
|
|||
'/redfish/v1/Systems/437XR1138R2/Storage/1/Drives/3F5A8C54207B7233', # noqa
|
||||
'/redfish/v1/Systems/437XR1138R2/Storage/1/Drives/32ADF365C6C1B7BD', # noqa
|
||||
'/redfish/v1/Systems/437XR1138R2/Storage/1/Drives/3D58ECBC375FD9F2', # noqa
|
||||
), self.storage.drives_identities)
|
||||
), self.storage.drives_identities)
|
||||
|
||||
def test_get_drive(self):
|
||||
# | WHEN |
|
||||
|
|
5
tox.ini
5
tox.ini
|
@ -54,8 +54,9 @@ commands = oslo_debug_helper -t sushy/tests {posargs}
|
|||
[flake8]
|
||||
show-source = True
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
# [W503] Line break occurred before a binary operator. Conflicts with W504.
|
||||
ignore = E123,E125,W503
|
||||
# E741 ambiguous variable name.
|
||||
# W503 Line break occurred before a binary operator. Conflicts with W504.
|
||||
ignore = E123,E125,E741,W503
|
||||
# [H106] Don't put vim configuration in source files.
|
||||
# [H203] Use assertIs(Not)None to check for None.
|
||||
# [H204] Use assert(Not)Equal to check for equality.
|
||||
|
|
Loading…
Reference in New Issue