From 20c5f3d186f606ec4a5b66b6edd3f3c0056a8a27 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 17 Feb 2021 08:23:44 -0700 Subject: [PATCH] cephadm: block comment should start with '# ' (E265) Signed-off-by: Michael Fritch --- src/cephadm/cephadm | 7 ++++--- src/cephadm/tox.ini | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index b7b833c7229..11ad81c3896 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -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)) diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index ca406cc499a..18ce529d341 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -5,8 +5,6 @@ skipsdist=true [flake8] max-line-length = 100 ignore = - E261, - E265, E266, E301, E302,