From: Michael Fritch Date: Thu, 28 Jan 2021 03:02:27 +0000 (-0700) Subject: mgr/cephadm: Continuation line under-indented for hanging indent (E121) X-Git-Tag: v17.1.0~3027^2~26 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=144ff982d263ccbf25aa12412fca6bc4382a9a3f;p=ceph.git mgr/cephadm: Continuation line under-indented for hanging indent (E121) Signed-off-by: Michael Fritch --- 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,