]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: closing bracket does not match visual indentation (E124)
authorMichael Fritch <mfritch@suse.com>
Thu, 4 Feb 2021 19:52:31 +0000 (12:52 -0700)
committerMichael Fritch <mfritch@suse.com>
Fri, 5 Feb 2021 18:18:23 +0000 (11:18 -0700)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/migrations.py
src/pybind/mgr/tox.ini

index 05df6db282a181f7308a2d3f80bfc8a8b52258f0..a45cdb9a926d2258cc2b82ca779920bbabe30cfd 100644 (file)
@@ -109,8 +109,7 @@ class Migrations:
                     return HostPlacementSpec(d.hostname, '', '')
 
             old_hosts = {h.hostname: h for h in spec.placement.hosts}
-            new_hosts = [to_hostname(d) for d in existing_daemons
-            ]
+            new_hosts = [to_hostname(d) for d in existing_daemons]
 
             new_placement = PlacementSpec(
                 hosts=new_hosts,
index 6676280215677c440c1c34cdca55434732623f0b..a5aa6550212806f9673a94ce3aafb44a26d4324d 100644 (file)
@@ -11,7 +11,6 @@ requires = cython
 [flake8]
 max-line-length = 100
 ignore =
-    E124,
     E126,
     E128,
     E225,