]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: too many leading '#' for block comment (E266)
authorMichael Fritch <mfritch@suse.com>
Thu, 18 Feb 2021 22:02:31 +0000 (15:02 -0700)
committerMichael Fritch <mfritch@suse.com>
Wed, 3 Mar 2021 16:33:30 +0000 (09:33 -0700)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm
src/cephadm/tox.ini

index 11ad81c38965930e213cbfea37c727f16d27a56b..e765400df1343b3603fa9ecebf1b0a35827236a7 100755 (executable)
@@ -164,9 +164,6 @@ class CephadmContext:
             super().__setattr__(name, value)
 
 
-##################################  
-
-
 # Log and console output config
 logging_config = {
     'version': 1,
@@ -1875,7 +1872,7 @@ def move_files(ctx, src, dst, uid=None, gid=None):
             os.chown(dst_file, uid, gid)
 
 
-## copied from distutils ##
+# copied from distutils
 def find_executable(executable, path=None):
     """Tries to find 'executable' in the directories listed in 'path'.
     A string listing directories separated by 'os.pathsep'; defaults to
@@ -4425,9 +4422,9 @@ def command_logs(ctx):
 def list_networks(ctx):
     # type: (CephadmContext) -> Dict[str,List[str]]
 
-    ## sadly, 18.04's iproute2 4.15.0-2ubun doesn't support the -j flag,
-    ## so we'll need to use a regex to parse 'ip' command output.
-    ##
+    # sadly, 18.04's iproute2 4.15.0-2ubun doesn't support the -j flag,
+    # so we'll need to use a regex to parse 'ip' command output.
+    #
     # out, _, _ = call_throws(['ip', '-j', 'route', 'ls'])
     # j = json.loads(out)
     # for x in j:
index 18ce529d341ad1d09853ea835c04ebb5707a22a2..6ec9f7b8c93b060ff64988827adba6b49bc7db26 100644 (file)
@@ -5,7 +5,6 @@ skipsdist=true
 [flake8]
 max-line-length = 100
 ignore =
-    E266,
     E301,
     E302,
     E303,