pre-commit: Migrate pyupgrade to ruff
Change-Id: Ic50d2a5e0bc9dcdfe29f382607135cab510cd396 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -96,8 +96,9 @@ class OpenStackShell(shell.OpenStackShell):
|
||||
key=lambda s: list(map(int, s.split('.'))),
|
||||
)
|
||||
self.log.warning(
|
||||
"%s version %s is not in supported versions: %s"
|
||||
% (api, version_opt, ', '.join(sorted_versions))
|
||||
"{} version {} is not in supported versions: {}".format(
|
||||
api, version_opt, ', '.join(sorted_versions)
|
||||
)
|
||||
)
|
||||
|
||||
# Command groups deal only with major versions
|
||||
|
||||
Reference in New Issue
Block a user