From 5be251f643662762d313a7f3da7a4fb6e30d4a85 Mon Sep 17 00:00:00 2001 From: milki Date: Fri, 17 Nov 2023 15:39:56 -0800 Subject: [PATCH] T Fix type ignore --- swagger_spec_validator/common.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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