Skip to content

Commit 379db31

Browse files
committed
Address pre-commit issues
We'd like to use pre-commit as our 'pep8' target. Before we do that, we need to address some issues that have crept in over the time since pre-commit was first added. Change-Id: I3bb383a00a44007eaa241e037e38aea16bd517b2 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
1 parent 43f0e10 commit 379db31

8 files changed

+52
-53
lines changed

doc/source/cli/data/keystone.csv

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
catalog,catalog show,"List service catalog, possibly filtered by service."
2-
ec2-credentials-create,ec2 credentials create,Create EC2-compatible credentials for user per tenant.
3-
ec2-credentials-delete,ec2 credentials delete,Delete EC2-compatible credentials.
4-
ec2-credentials-get,ec2 credentials show,Display EC2-compatible credentials.
5-
ec2-credentials-list,ec2 credentials list,List EC2-compatible credentials for a user.
6-
endpoint-create,endpoint create,Create a new endpoint associated with a service.
7-
endpoint-delete,endpoint delete,Delete a service endpoint.
8-
endpoint-get,endpoint get,Find endpoint filtered by a specific attribute or service type.
9-
endpoint-list,endpoint list,List configured service endpoints.
10-
password-update,user password set,Update own password.
11-
role-create,role create,Create new role.
12-
role-delete,role delete,Delete role.
13-
role-get,role show,Display role details.
14-
role-list,role list,List all roles.
15-
service-create,service create,Add service to Service Catalog.
16-
service-delete,service delete,Delete service from Service Catalog.
17-
service-get,service show,Display service from Service Catalog.
18-
service-list,service list,List all services in Service Catalog.
19-
tenant-create,project create,Create new tenant.
20-
tenant-delete,project delete,Delete tenant.
21-
tenant-get,project show,Display tenant details.
22-
tenant-list,project list,List all tenants.
23-
tenant-update,project set,"Update tenant name, description, enabled status."
24-
token-get,token issue,Display the current user token.
25-
user-create,user create,Create new user.
26-
user-delete,user delete,Delete user.
27-
user-get,user show,Display user details.
28-
user-list,user list,List users.
29-
user-password-update,user set --password,Update user password.
30-
user-role-add,role add <role> --user --project,Add role to user.
31-
user-role-list,role assignment list --user --project,List roles granted to a user.
32-
user-role-remove,role remove <role> --user --project,Remove role from user.
33-
user-update,user set,"Update user's name, email, and enabled status."
34-
discover,WONTFIX,"Discover Keystone servers, supported API versions and extensions."
35-
bootstrap,WONTFIX,"Grants a new role to a new user on a new tenant, after creating each."
36-
bash-completion,complete,Prints all of the commands and options to stdout.
37-
help,help,Display help about this program or one of its subcommands.
1+
catalog,catalog show,"List service catalog, possibly filtered by service."
2+
ec2-credentials-create,ec2 credentials create,Create EC2-compatible credentials for user per tenant.
3+
ec2-credentials-delete,ec2 credentials delete,Delete EC2-compatible credentials.
4+
ec2-credentials-get,ec2 credentials show,Display EC2-compatible credentials.
5+
ec2-credentials-list,ec2 credentials list,List EC2-compatible credentials for a user.
6+
endpoint-create,endpoint create,Create a new endpoint associated with a service.
7+
endpoint-delete,endpoint delete,Delete a service endpoint.
8+
endpoint-get,endpoint get,Find endpoint filtered by a specific attribute or service type.
9+
endpoint-list,endpoint list,List configured service endpoints.
10+
password-update,user password set,Update own password.
11+
role-create,role create,Create new role.
12+
role-delete,role delete,Delete role.
13+
role-get,role show,Display role details.
14+
role-list,role list,List all roles.
15+
service-create,service create,Add service to Service Catalog.
16+
service-delete,service delete,Delete service from Service Catalog.
17+
service-get,service show,Display service from Service Catalog.
18+
service-list,service list,List all services in Service Catalog.
19+
tenant-create,project create,Create new tenant.
20+
tenant-delete,project delete,Delete tenant.
21+
tenant-get,project show,Display tenant details.
22+
tenant-list,project list,List all tenants.
23+
tenant-update,project set,"Update tenant name, description, enabled status."
24+
token-get,token issue,Display the current user token.
25+
user-create,user create,Create new user.
26+
user-delete,user delete,Delete user.
27+
user-get,user show,Display user details.
28+
user-list,user list,List users.
29+
user-password-update,user set --password,Update user password.
30+
user-role-add,role add <role> --user --project,Add role to user.
31+
user-role-list,role assignment list --user --project,List roles granted to a user.
32+
user-role-remove,role remove <role> --user --project,Remove role from user.
33+
user-update,user set,"Update user's name, email, and enabled status."
34+
discover,WONTFIX,"Discover Keystone servers, supported API versions and extensions."
35+
bootstrap,WONTFIX,"Grants a new role to a new user on a new tenant, after creating each."
36+
bash-completion,complete,Prints all of the commands and options to stdout.
37+
help,help,Display help about this program or one of its subcommands.

doc/source/cli/data/swift.csv

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
delete,object delete / container delete,Delete a container or objects within a container.
2-
download,object save / container save,Download objects from containers.
3-
list,object list / container list,Lists the containers for the account or the objects for a container.
4-
post,container create / object set / container set / object store account set,"Updates meta information for the account, container, or object."
5-
copy,,"Copies object, optionally adds meta."
6-
stat,object show / container show / object store account show,"Displays information for the account, container, or object."
7-
upload,object create,Uploads files or directories to the given container.
8-
capabilities,,List cluster capabilities.
9-
tempurl,,Create a temporary URL.
10-
auth,WONTFIX,Display auth related environment variables.
1+
delete,object delete / container delete,Delete a container or objects within a container.
2+
download,object save / container save,Download objects from containers.
3+
list,object list / container list,Lists the containers for the account or the objects for a container.
4+
post,container create / object set / container set / object store account set,"Updates meta information for the account, container, or object."
5+
copy,,"Copies object, optionally adds meta."
6+
stat,object show / container show / object store account show,"Displays information for the account, container, or object."
7+
upload,object create,Uploads files or directories to the given container.
8+
capabilities,,List cluster capabilities.
9+
tempurl,,Create a temporary URL.
10+
auth,WONTFIX,Display auth related environment variables.

releasenotes/notes/bp-add-locked-reason-425efd2def1144f1.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ features:
1010
servers.
1111
Requires ``–os-compute-api-version`` 2.73 or greater.
1212
[Blueprint `add-locked-reason <https://blueprints.launchpad.net/nova/+spec/add-locked-reason>`_]
13-

releasenotes/notes/bp-neutron-floating-ip-rate-limit-8387c040a6fb9acd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
features:
33
- |
44
Add support for attaching and removing qos policy to floating IPs.
5-
5+
66
Add option ``--qos-policy`` to the ``floating ip create`` and
77
``floating ip set`` commands to add qos policy to a floating IP.
88

releasenotes/notes/bp-project-tags-b544aef9672d415b.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
features:
33
- |
44
Add ``--tag`` option to ``project create`` command, ``--tag``, ``--clear-tags``, and
5-
``--remove-tag`` options to ``project set`` command. Add ``--tags``, ``--tags-any``,
5+
``--remove-tag`` options to ``project set`` command. Add ``--tags``, ``--tags-any``,
66
``--not-tags``, and ``--not-tags-any`` options to ``project list`` command to filter
77
list results by different projects based on their tags.
88
[`blueprint project-tags <https://blueprints.launchpad.net/keystone/+spec/project-tags>`_]

releasenotes/notes/bug-1647406-c936581034a1b6e4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fixes:
99
The device name of the boot volume specificed in the ``--volume`` option
1010
is no longer assumed to be *'vda'* but now uses the hypervisor's boot
1111
index to obtain the device name. This maintains the status quo for
12-
**QEMU/KVM** hypervisors but **XEN**, **parallels** and others
12+
**QEMU/KVM** hypervisors but **XEN**, **parallels** and others
1313
*virt types* that have device naming is different from ``vd*``
1414
should now also work correctly.
1515
[:lpbug:`1497845`]

releasenotes/notes/floatingip_dns_integration-f26c7575694d098d.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
features:
33
- |
4-
Add ``--dns-domain`` and ``--dns-name`` options to the
4+
Add ``--dns-domain`` and ``--dns-name`` options to the
55
``floating ip create`` commands. These options
66
set the DNS domain and name for the floating IP.
77

releasenotes/notes/osc4-identity-6564257c67d43106.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ upgrade:
77
Remove deprecated ``user role list`` command.
88
Use ``role assignment list`` options ``--project`` and ``--user`` instead.
99
- |
10-
Remove deprecated ``service create`` option ``--type``.
10+
Remove deprecated ``service create`` option ``--type``.
1111
The type is supplied as a positional argument in The
1212
``service create --name <service-name> type`` command.

0 commit comments

Comments
 (0)