Merge "Fix tox pep8 errors of type E231 in sysinv"
This commit is contained in:
commit
704251a7fc
|
@ -273,7 +273,8 @@ class AlarmController(rest.RestController):
|
||||||
|
|
||||||
@wsme_pecan.wsexpose(AlarmCollection, [Query],
|
@wsme_pecan.wsexpose(AlarmCollection, [Query],
|
||||||
types.uuid, int, wtypes.text, wtypes.text, bool)
|
types.uuid, int, wtypes.text, wtypes.text, bool)
|
||||||
def get_all(self, q=[], marker=None, limit=None, sort_key='id', sort_dir='asc',include_suppress=False):
|
def get_all(self, q=[], marker=None, limit=None, sort_key='id',
|
||||||
|
sort_dir='asc', include_suppress=False):
|
||||||
"""Retrieve a list of ialarm.
|
"""Retrieve a list of ialarm.
|
||||||
|
|
||||||
:param marker: pagination marker for large data sets.
|
:param marker: pagination marker for large data sets.
|
||||||
|
|
|
@ -81,7 +81,7 @@ commands =
|
||||||
# H231..H238 are python3 compatability
|
# H231..H238 are python3 compatability
|
||||||
# H401,H403,H404,H405 are docstring and not important
|
# H401,H403,H404,H405 are docstring and not important
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E501,E127,E128,E231,E402,E126,E722,H101,H102,H104,H105,H231,H232,H233,H234,H235,H236,H237,H238,H401,H403,H404,H405
|
ignore = E501,E127,E128,E402,E126,E722,H101,H102,H104,H105,H231,H232,H233,H234,H235,H236,H237,H238,H401,H403,H404,H405
|
||||||
builtins = _
|
builtins = _
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
|
|
Loading…
Reference in New Issue