From 144ff982d263ccbf25aa12412fca6bc4382a9a3f Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 27 Jan 2021 20:02:27 -0700 Subject: [PATCH] mgr/cephadm: Continuation line under-indented for hanging indent (E121) Signed-off-by: Michael Fritch --- src/pybind/mgr/cephadm/tests/test_scheduling.py | 16 ++++++++-------- src/pybind/mgr/tox.ini | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/pybind/mgr/cephadm/tests/test_scheduling.py b/src/pybind/mgr/cephadm/tests/test_scheduling.py index 205b48d95b887..3c36276867d9c 100644 --- a/src/pybind/mgr/cephadm/tests/test_scheduling.py +++ b/src/pybind/mgr/cephadm/tests/test_scheduling.py @@ -113,9 +113,9 @@ def mk_spec_and_host(spec_section, hosts, explicit_key, explicit, count): assert False hosts = [ - HostSpec(h, labels=['mylabel']) if h in explicit else HostSpec(h) - for h in hosts - ] + HostSpec(h, labels=['mylabel']) if h in explicit else HostSpec(h) + for h in hosts + ] return mk_spec, hosts @@ -839,8 +839,8 @@ class OddMonsTest(NamedTuple): PlacementSpec(count=5), 'host1 host2 host3 host4'.split(), [ - DaemonDescription('mon', 'a', 'host1'), - DaemonDescription('mon', 'b', 'host2'), + DaemonDescription('mon', 'a', 'host1'), + DaemonDescription('mon', 'b', 'host2'), ], 3 ), @@ -849,9 +849,9 @@ class OddMonsTest(NamedTuple): PlacementSpec(hosts='host1 host2 host3 host4'.split()), 'host1 host2 host3 host4 host5'.split(), [ - DaemonDescription('mon', 'a', 'host1'), - DaemonDescription('mon', 'b', 'host2'), - DaemonDescription('mon', 'c', 'host3'), + DaemonDescription('mon', 'a', 'host1'), + DaemonDescription('mon', 'b', 'host2'), + DaemonDescription('mon', 'c', 'host3'), ], 3 ), diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index 69ffde107ac90..579306a9df7d4 100644 --- a/src/pybind/mgr/tox.ini +++ b/src/pybind/mgr/tox.ini @@ -11,7 +11,6 @@ requires = cython [flake8] max-line-length = 100 ignore = - E121, E122, E124, E126, -- 2.39.5