]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: block comment should start with '# ' (E265)
authorMichael Fritch <mfritch@suse.com>
Wed, 17 Feb 2021 15:23:44 +0000 (08:23 -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 b7b833c72290bc71215821af8c3336df718d954b..11ad81c38965930e213cbfea37c727f16d27a56b 100755 (executable)
@@ -4427,9 +4427,10 @@ def list_networks(ctx):
 
     ## 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:
+    ##
+    # out, _, _ = call_throws(['ip', '-j', 'route', 'ls'])
+    # j = json.loads(out)
+    # for x in j:
 
     res = _list_ipv4_networks(ctx)
     res.update(_list_ipv6_networks(ctx))
index ca406cc499aec45566044a4bdcbdeb5e2358e087..18ce529d341ad1d09853ea835c04ebb5707a22a2 100644 (file)
@@ -5,8 +5,6 @@ skipsdist=true
 [flake8]
 max-line-length = 100
 ignore =
-    E261,
-    E265,
     E266,
     E301,
     E302,