From: Michael Fritch Date: Thu, 4 Feb 2021 19:52:31 +0000 (-0700) Subject: mgr/cephadm: closing bracket does not match visual indentation (E124) X-Git-Tag: v16.2.0~178^2~51 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=00d1e7b63865b72b00f767794a81900aadb130ee;p=ceph.git mgr/cephadm: closing bracket does not match visual indentation (E124) Signed-off-by: Michael Fritch (cherry picked from commit bb28ad2b5b2dd4b93eb88c21131b1aa3a9e404f1) --- diff --git a/src/pybind/mgr/cephadm/migrations.py b/src/pybind/mgr/cephadm/migrations.py index 05df6db282a1..a45cdb9a926d 100644 --- a/src/pybind/mgr/cephadm/migrations.py +++ b/src/pybind/mgr/cephadm/migrations.py @@ -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, diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index 301f43ef30d9..f6147fa36e4b 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 = - E124, E126, E128, E225,