]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: unexpected spaces around keyword / parameter equals (E251)
authorMichael Fritch <mfritch@suse.com>
Wed, 17 Feb 2021 04:10:36 +0000 (21:10 -0700)
committerMichael Fritch <mfritch@suse.com>
Wed, 3 Mar 2021 16:33:29 +0000 (09:33 -0700)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm
src/cephadm/tox.ini

index 30e44b17f2cbfc98b4f66e6a64544d0b8d4eca48..5fe808b5a9582423474b862713a3e8a18744ced7 100755 (executable)
@@ -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',
index 5a21a50b320b65286118557fcb2c8942e526c49c..ca406cc499aec45566044a4bdcbdeb5e2358e087 100644 (file)
@@ -5,7 +5,6 @@ skipsdist=true
 [flake8]
 max-line-length = 100
 ignore =
-    E251,
     E261,
     E265,
     E266,