From: Michael Fritch Date: Thu, 28 Jan 2021 03:15:03 +0000 (-0700) Subject: mgr/cephadm: Continuation line over-indented for hanging indent (E126) X-Git-Tag: v16.2.0~178^2~50 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=226ebc39e43c93c9cab7b2d7240d21486c25d40d;p=ceph.git mgr/cephadm: Continuation line over-indented for hanging indent (E126) Signed-off-by: Michael Fritch (cherry picked from commit b04fb5f2626d2621c666c7ae1bb00befa3d96dd3) --- diff --git a/src/pybind/mgr/cephadm/tests/test_scheduling.py b/src/pybind/mgr/cephadm/tests/test_scheduling.py index 922cd78f2467..21a540cc00a2 100644 --- a/src/pybind/mgr/cephadm/tests/test_scheduling.py +++ b/src/pybind/mgr/cephadm/tests/test_scheduling.py @@ -90,9 +90,9 @@ def mk_spec_and_host(spec_section, hosts, explicit_key, explicit, count): if spec_section == 'hosts': mk_spec = lambda: ServiceSpec('mgr', placement=PlacementSpec( - hosts=explicit, - count=count, - )) + hosts=explicit, + count=count, + )) elif spec_section == 'label': mk_spec = lambda: ServiceSpec('mgr', placement=PlacementSpec( label='mylabel', @@ -106,9 +106,9 @@ def mk_spec_and_host(spec_section, hosts, explicit_key, explicit, count): '123': '*', }[explicit_key] mk_spec = lambda: ServiceSpec('mgr', placement=PlacementSpec( - host_pattern=pattern, - count=count, - )) + host_pattern=pattern, + count=count, + )) else: assert False diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index f6147fa36e4b..480e3c97395d 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 = - E126, E128, E225, E226,