]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Continuation line over-indented for hanging indent (E126)
authorMichael Fritch <mfritch@suse.com>
Thu, 28 Jan 2021 03:15:03 +0000 (20:15 -0700)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 23 Feb 2021 09:58:23 +0000 (10:58 +0100)
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit b04fb5f2626d2621c666c7ae1bb00befa3d96dd3)

src/pybind/mgr/cephadm/tests/test_scheduling.py
src/pybind/mgr/tox.ini

index 922cd78f2467a5888459da50f43c925a3f31e32a..21a540cc00a20378b99875b098ec964d2d2e13d1 100644 (file)
@@ -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
 
index f6147fa36e4b1fa32497f399c2bb1e5ca5e8090e..480e3c97395d772fc3c89753a323ddb89d8a55b2 100644 (file)
@@ -11,7 +11,6 @@ requires = cython
 [flake8]
 max-line-length = 100
 ignore =
-    E126,
     E128,
     E225,
     E226,