cephadm: unexpected spaces around keyword / parameter equals (E251)

Signed-off-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
Michael Fritch 2021-02-16 21:10:36 -07:00
parent d2bb74a896
commit d47b26d792
No known key found for this signature in database
GPG Key ID: 75F3EB2E80A03B7F
2 changed files with 3 additions and 4 deletions

View File

@ -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',

View File

@ -5,7 +5,6 @@ skipsdist=true
[flake8]
max-line-length = 100
ignore =
E251,
E261,
E265,
E266,