chore: cleanup unnecessary mypy suppressions on imports (#24712)
This commit is contained in:
parent
c4496e6cf2
commit
39064197da
24 changed files with 37 additions and 37 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import time
|
||||
|
||||
import psycopg2 # type: ignore
|
||||
import psycopg2
|
||||
|
||||
from core.rag.datasource.vdb.opengauss.opengauss import OpenGauss, OpenGaussConfig
|
||||
from tests.integration_tests.vdb.test_vector_store import (
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
from textwrap import dedent
|
||||
|
||||
import pytest
|
||||
from yaml import YAMLError # type: ignore
|
||||
from yaml import YAMLError
|
||||
|
||||
from core.tools.utils.yaml_utils import load_yaml_file
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue