From bb28ad2b5b2dd4b93eb88c21131b1aa3a9e404f1 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Thu, 4 Feb 2021 12:52:31 -0700 Subject: [PATCH] mgr/cephadm: closing bracket does not match visual indentation (E124) Signed-off-by: Michael Fritch --- src/pybind/mgr/cephadm/migrations.py | 3 +-- src/pybind/mgr/tox.ini | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pybind/mgr/cephadm/migrations.py b/src/pybind/mgr/cephadm/migrations.py index 05df6db282a18..a45cdb9a926d2 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 6676280215677..a5aa655021280 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, -- 2.39.5