]> git.apps.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)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:16 +0000 (07:56 -0500)
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 20c5f3d186f606ec4a5b66b6edd3f3c0056a8a27)

src/cephadm/cephadm
src/cephadm/tox.ini

index 5231426cacd2b3ae548443ca81c1fca27aacc723..beb313e84bc681080b73b5b514e31ec90a79e5b6 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,