chore: cleanup unnecessary mypy suppressions on imports (#24712)

This commit is contained in:
Bowen Liang 2025-08-28 23:17:25 +08:00 committed by GitHub
commit 39064197da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 37 additions and 37 deletions

View file

@ -4,8 +4,8 @@ from unittest.mock import MagicMock
import pytest
from _pytest.monkeypatch import MonkeyPatch
from oss2 import Bucket # type: ignore
from oss2.models import GetObjectResult, PutObjectResult # type: ignore
from oss2 import Bucket
from oss2.models import GetObjectResult, PutObjectResult
from tests.unit_tests.oss.__mock.base import (
get_example_bucket,

View file

@ -1,7 +1,7 @@
from unittest.mock import patch
import pytest
from oss2 import Auth # type: ignore
from oss2 import Auth
from extensions.storage.aliyun_oss_storage import AliyunOssStorage
from tests.unit_tests.oss.__mock.aliyun_oss import setup_aliyun_oss_mock