From: Michael Fritch Date: Fri, 5 Feb 2021 18:13:05 +0000 (-0700) Subject: mgr/cephadm: at least two spaces before inline comment (E261) X-Git-Tag: v16.2.0~178^2~44 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d3bb62d983267524fdf7fcfa51922c8ab5519a75;p=ceph.git mgr/cephadm: at least two spaces before inline comment (E261) Signed-off-by: Michael Fritch (cherry picked from commit 46a322ba018760610706eae92e7bd28e9b325029) --- diff --git a/src/pybind/mgr/cephadm/inventory.py b/src/pybind/mgr/cephadm/inventory.py index 600fc64ac6c4..b4df1e56c41e 100644 --- a/src/pybind/mgr/cephadm/inventory.py +++ b/src/pybind/mgr/cephadm/inventory.py @@ -218,7 +218,7 @@ class HostCache(): self.facts = {} # type: Dict[str, Dict[str, Any]] self.last_facts_update = {} # type: Dict[str, datetime.datetime] self.osdspec_previews = {} # type: Dict[str, List[Dict[str, Any]]] - self.osdspec_last_applied = {} # type: Dict[str, Dict[str, datetime.datetime]] + self.osdspec_last_applied = {} # type: Dict[str, Dict[str, datetime.datetime]] self.networks = {} # type: Dict[str, Dict[str, List[str]]] self.last_device_update = {} # type: Dict[str, datetime.datetime] self.last_device_change = {} # type: Dict[str, datetime.datetime] diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index 2f06b0d4c169..8795a2003fd0 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 = - E261, E302, E306, E501,