mgr/cephadm: multiple spaces after ':' (E241)

Signed-off-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
Michael Fritch 2021-01-28 12:45:10 -07:00
parent cf4d666573
commit ae76ba8a54
No known key found for this signature in database
GPG Key ID: 75F3EB2E80A03B7F
3 changed files with 3 additions and 4 deletions

View File

@ -66,7 +66,7 @@ class CephadmDaemonSpec(Generic[ServiceSpecs]):
self.extra_files = extra_files or {}
# TCP ports used by the daemon
self.ports: List[int] = ports or []
self.ports: List[int] = ports or []
def name(self) -> str:
return '%s.%s' % (self.daemon_type, self.daemon_id)

View File

@ -248,8 +248,8 @@ class _Promise(object):
val = repr(self._value) if self._value not in (self.NO_RESULT, self.ASYNC_RESULT) else '...'
prefix = {
self.INITIALIZED: ' ',
self.RUNNING: ' >>>',
self.FINISHED: '(done)'
self.RUNNING: ' >>>', # noqa: E241
self.FINISHED: '(done)', # noqa: E241
}[self._state]
return '{} {}({}),'.format(prefix, name, val)

View File

@ -11,7 +11,6 @@ requires = cython
[flake8]
max-line-length = 100
ignore =
E241,
E261,
E302,
E306,