From b04fb5f2626d2621c666c7ae1bb00befa3d96dd3 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 27 Jan 2021 20:15:03 -0700 Subject: [PATCH] mgr/cephadm: Continuation line over-indented for hanging indent (E126) Signed-off-by: Michael Fritch --- src/pybind/mgr/cephadm/tests/test_scheduling.py | 12 ++++++------ src/pybind/mgr/tox.ini | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/pybind/mgr/cephadm/tests/test_scheduling.py b/src/pybind/mgr/cephadm/tests/test_scheduling.py index 922cd78f246..21a540cc00a 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 a5aa6550212..1cbfb47f5a7 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, -- 2.39.5