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,