Merge "Fix tox pep8 errors of type E231 in sysinv"

This commit is contained in:
Zuul 2018-08-09 20:57:23 +00:00 committed by Gerrit Code Review
commit 704251a7fc
29 changed files with 87 additions and 86 deletions

View File

@ -273,7 +273,8 @@ class AlarmController(rest.RestController):
@wsme_pecan.wsexpose(AlarmCollection, [Query],
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.
:param marker: pagination marker for large data sets.

View File

@ -81,7 +81,7 @@ commands =
# H231..H238 are python3 compatability
# H401,H403,H404,H405 are docstring and not important
[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 = _
[testenv:flake8]