From: Michael Fritch Date: Thu, 28 Jan 2021 03:08:32 +0000 (-0700) Subject: mgr/cephadm: Continuation line missing indentation or outdented (E122) X-Git-Tag: v17.1.0~3027^2~25 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b025081f8e016414b0698e5cd79740ea5bdc13c3;p=ceph-ci.git mgr/cephadm: Continuation line missing indentation or outdented (E122) also resolves: continuation line unaligned for hanging indent (E131) 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 3c36276867d..922cd78f246 100644 --- a/src/pybind/mgr/cephadm/tests/test_scheduling.py +++ b/src/pybind/mgr/cephadm/tests/test_scheduling.py @@ -834,28 +834,27 @@ class OddMonsTest(NamedTuple): ], 3 ), - OddMonsTest( - 'mon', - PlacementSpec(count=5), - 'host1 host2 host3 host4'.split(), - [ - DaemonDescription('mon', 'a', 'host1'), - DaemonDescription('mon', 'b', 'host2'), - ], - 3 - ), - OddMonsTest( - 'mon', - 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'), - ], - 3 - ), - + OddMonsTest( + 'mon', + PlacementSpec(count=5), + 'host1 host2 host3 host4'.split(), + [ + DaemonDescription('mon', 'a', 'host1'), + DaemonDescription('mon', 'b', 'host2'), + ], + 3 + ), + OddMonsTest( + 'mon', + 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'), + ], + 3 + ), ]) def test_odd_mons(service_type, placement, hosts, daemons, expected_count): diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index 579306a9df7..66762802156 100644 --- a/src/pybind/mgr/tox.ini +++ b/src/pybind/mgr/tox.ini @@ -11,11 +11,9 @@ requires = cython [flake8] max-line-length = 100 ignore = - E122, E124, E126, E128, - E131, E225, E226, E231,