Merge "Fix flake8 E265 errors"

This commit is contained in:
Zuul 2018-10-19 05:31:09 +00:00 committed by Gerrit Code Review
commit 5bf9f461e0
2 changed files with 2 additions and 3 deletions

View File

@ -69,7 +69,7 @@ def wait_until_true(predicate, timeout=60, sleep=1, exception=None):
eventlet.sleep(sleep)
except eventlet.Timeout:
if exception is not None:
#pylint: disable=raising-bad-type
# pylint: disable=raising-bad-type
raise exception
raise WaitTimeout("Timed out after %d seconds" % timeout)

View File

@ -56,10 +56,9 @@ commands = oslo_debug_helper -t neutron_tempest_plugin/ {posargs}
# E126 continuation line over-indented for hanging indent
# E128 continuation line under-indented for visual indent
# E129 visually indented line with same indent as next logical line
# E265 block comment should start with '# '
# H405 multi line docstring summary not separated with an empty line
# N530 direct neutron imports not allowed
ignore = E125,E126,E128,E129,E265,H405,N530
ignore = E125,E126,E128,E129,H405,N530
# H106: Don't put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
# H904: Delay string interpolations at logging calls