Enforce check on flake8 E129 test

Visually indented line with same indent as next logical line.

Change-Id: I9204313f2b8b52929366b00f5ac035ce06603122
This commit is contained in:
Riccardo Pittau 2020-08-03 17:39:41 +02:00
parent 6ac070b95b
commit 7f71d49389
2 changed files with 4 additions and 4 deletions

View File

@ -216,8 +216,9 @@ class BaremetalStandaloneManager(bm.BaremetalScenarioTest,
return False
return True
if (not test_utils.call_until_true(_try_to_associate_instance,
duration=CONF.baremetal.association_timeout, sleep_for=1)):
if (not test_utils.call_until_true(
_try_to_associate_instance,
duration=CONF.baremetal.association_timeout, sleep_for=1)):
msg = ('Timed out waiting to associate instance to ironic node '
'uuid %s' % instance_uuid)
raise lib_exc.TimeoutException(msg)

View File

@ -45,9 +45,8 @@ commands = sphinx-build -b latex doc/source doc/build/pdf
commands = oslo_debug_helper {posargs}
[flake8]
# [E129] Visually indented line with same indent as next logical line.
# [W503] Line break occurred before a binary operator. Conflicts with W504.
ignore = E129,W503
ignore = W503
show-source = True
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build