linting cleanups

This commit is contained in:
Neill Cox 2023-09-22 17:35:29 +10:00
parent 3bf347f7a2
commit 4daf1b9c2f
5 changed files with 672 additions and 8 deletions

View file

@ -62,7 +62,7 @@ def destroy_project(args):
f"project delete -f json --domain {args.project_domain} "
f"{args.project_id}"
)
print(f"Project deleted")
print(f"Project {args.project_name} deleted")
else:
print("Project {args.project_name} not found.")
@ -110,7 +110,7 @@ def assign_member_role(args):
def destroy_public_network(args):
"""Coming soon - create the public network"""
# pylint: disable=unused-argument
# pylint: disable=unused-argument,unused-variable
print("creating public network - NYI")
cmd = (
"network create --external --provider-physical-network datacentre "
@ -126,7 +126,7 @@ def destroy_public_network(args):
def destroy_private_network(args):
"""Coming soon - create the private network"""
# pylint: disable=unused-argument
# pylint: disable=unused-argument,unused-variable
cmd = "openstack network create --internal private"
cmd = (
"openstack subnet create private-net "