mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
mgr/cephadm: multiple spaces after ':' (E241)
Signed-off-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
parent
cf4d666573
commit
ae76ba8a54
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -11,7 +11,6 @@ requires = cython
|
||||
[flake8]
|
||||
max-line-length = 100
|
||||
ignore =
|
||||
E241,
|
||||
E261,
|
||||
E302,
|
||||
E306,
|
||||
|
Loading…
Reference in New Issue
Block a user