Lint: E128 continuation line under-indented for visual indent

This commit is contained in:
Joshua Boniface 2020-11-07 13:07:07 -05:00
parent d2490419c5
commit 975b52ad8e
2 changed files with 5 additions and 6 deletions

View File

@ -787,8 +787,8 @@ def net_add(vni, description, nettype, domain, name_servers,
dhcp4_flag = bool(strtobool(dhcp4_flag))
zk_conn = pvc_common.startZKConnection(config['coordinators'])
retflag, retdata = pvc_network.add_network(zk_conn, vni, description, nettype, domain, name_servers,
ip4_network, ip4_gateway, ip6_network, ip6_gateway,
dhcp4_flag, dhcp4_start, dhcp4_end)
ip4_network, ip4_gateway, ip6_network, ip6_gateway,
dhcp4_flag, dhcp4_start, dhcp4_end)
pvc_common.stopZKConnection(zk_conn)
if retflag:
@ -812,8 +812,8 @@ def net_modify(vni, description, domain, name_servers,
dhcp4_flag = bool(strtobool(dhcp4_flag))
zk_conn = pvc_common.startZKConnection(config['coordinators'])
retflag, retdata = pvc_network.modify_network(zk_conn, vni, description, domain, name_servers,
ip4_network, ip4_gateway, ip6_network, ip6_gateway,
dhcp4_flag, dhcp4_start, dhcp4_end)
ip4_network, ip4_gateway, ip6_network, ip6_gateway,
dhcp4_flag, dhcp4_start, dhcp4_end)
pvc_common.stopZKConnection(zk_conn)
if retflag:

3
lint
View File

@ -6,5 +6,4 @@ if ! which flake8 &>/dev/null; then
fi
flake8 \
--exclude=api-daemon/migrations/versions \
--exclude=api-daemon/provisioner/examples
--exclude=api-daemon/migrations/versions,api-daemon/provisioner/examples