pre-commit: Migrate pyupgrade to ruff

Change-Id: Ic50d2a5e0bc9dcdfe29f382607135cab510cd396
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2024-09-12 17:57:14 +01:00
parent fc6852cd94
commit f98006ca9d
79 changed files with 753 additions and 1190 deletions

@ -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__":