diff --git a/swagger_spec_validator/common.py b/swagger_spec_validator/common.py index 25cefa0..6b0d1c6 100644 --- a/swagger_spec_validator/common.py +++ b/swagger_spec_validator/common.py @@ -14,11 +14,11 @@ import yaml try: - from importlib.resources import files # ignore: type - from importlib.resources import as_file # ignore: type + from importlib.resources import files # type: ignore + from importlib.resources import as_file # type: ignore except ImportError: # pragma: cover - from importlib_resources import files # ignore: type - from importlib_resources import as_file # ignore: type + from importlib_resources import files # type: ignore + from importlib_resources import as_file # type: ignore from typing_extensions import ParamSpec