pre-commit: Migrate pyupgrade to ruff
Change-Id: Ic50d2a5e0bc9dcdfe29f382607135cab510cd396 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
.pre-commit-config.yamlpyproject.toml
examples
openstackclient
api
common
compute
identity
image
v2
network
shell.pytests
functional
common
compute
identity
v2
common.pytest_catalog.pytest_ec2_credentials.pytest_endpoint.pytest_project.pytest_role.pytest_service.pytest_token.pytest_user.py
v3
image
network
v2
object
volume
unit
@ -94,13 +94,13 @@ def run(opts):
|
||||
o_list = client_manager.object_store.object_list(c_list[0]['name'])
|
||||
print("\nObject")
|
||||
for o in o_list:
|
||||
print("%s" % o)
|
||||
print(f"{o}")
|
||||
|
||||
# Look at the compute flavors
|
||||
flavor_list = client_manager.compute.flavors.list()
|
||||
print("\nFlavors:")
|
||||
for f in flavor_list:
|
||||
print("%s" % f)
|
||||
print(f"{f}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user