Bump Python version used for linters to 3.10

Change-Id: I693516fc2a08218c50d83a3ab121b51254f97958
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-05-07 12:39:53 +01:00
parent ce2a253d5a
commit 7c7c066096
5 changed files with 6 additions and 7 deletions

View File

@@ -94,7 +94,7 @@ class OpenStackShell(shell.OpenStackShell):
# instead.
mod_versions = getattr(mod, 'API_VERSIONS', None)
if mod_versions is not None and not isinstance(
mod_versions, (dict, tuple)
mod_versions, dict | tuple
):
raise TypeError(
f'Plugin {mod} has incompatible API_VERSIONS. '