mirror of
https://github.com/ceph/ceph
synced 2025-01-19 09:32:00 +00:00
cephadm: unexpected spaces around keyword / parameter equals (E251)
Signed-off-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
parent
d2bb74a896
commit
d47b26d792
@ -1141,7 +1141,7 @@ class FileLock(object):
|
||||
self._lock_counter = max(0, self._lock_counter - 1)
|
||||
|
||||
raise
|
||||
return _Acquire_ReturnProxy(lock = self)
|
||||
return _Acquire_ReturnProxy(lock=self)
|
||||
|
||||
def release(self, force=False):
|
||||
"""
|
||||
@ -6971,7 +6971,7 @@ class CephadmDaemon():
|
||||
|
||||
return """set -e
|
||||
{py3} {bin_path} exporter --fsid {fsid} --id {daemon_id} --port {port} &""".format(
|
||||
py3 = shutil.which('python3'),
|
||||
py3=shutil.which('python3'),
|
||||
bin_path=self.binary_path,
|
||||
fsid=self.fsid,
|
||||
daemon_id=self.daemon_id,
|
||||
@ -7480,7 +7480,7 @@ def _get_parser():
|
||||
parser_bootstrap.add_argument(
|
||||
'--ssl-dashboard-port',
|
||||
type=int,
|
||||
default = 8443,
|
||||
default=8443,
|
||||
help='Port number used to connect with dashboard using SSL')
|
||||
parser_bootstrap.add_argument(
|
||||
'--dashboard-key',
|
||||
|
@ -5,7 +5,6 @@ skipsdist=true
|
||||
[flake8]
|
||||
max-line-length = 100
|
||||
ignore =
|
||||
E251,
|
||||
E261,
|
||||
E265,
|
||||
E266,
|
||||
|
Loading…
Reference in New Issue
Block a user