mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-14 23:26:34 +00:00
nit: lint standard-tests
files
This commit is contained in:
parent
4f4e831a44
commit
e9bb40f221
@ -9,7 +9,7 @@ class BaseStandardTests(ABC):
|
|||||||
|
|
||||||
:private:
|
:private:
|
||||||
"""
|
"""
|
||||||
# find path to standard test implementations
|
# Find path to standard test implementations
|
||||||
comparison_class = None
|
comparison_class = None
|
||||||
|
|
||||||
def explore_bases(cls: type) -> None:
|
def explore_bases(cls: type) -> None:
|
||||||
|
@ -32,9 +32,7 @@ from pytest_benchmark.fixture import BenchmarkFixture # type: ignore[import-unt
|
|||||||
from typing_extensions import TypedDict
|
from typing_extensions import TypedDict
|
||||||
from vcr.cassette import Cassette
|
from vcr.cassette import Cassette
|
||||||
|
|
||||||
from langchain_tests.unit_tests.chat_models import (
|
from langchain_tests.unit_tests.chat_models import ChatModelTests
|
||||||
ChatModelTests,
|
|
||||||
)
|
|
||||||
from langchain_tests.utils.pydantic import PYDANTIC_MAJOR_VERSION
|
from langchain_tests.utils.pydantic import PYDANTIC_MAJOR_VERSION
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,15 +12,9 @@ from langchain_core.load import dumpd, load
|
|||||||
from langchain_core.runnables import RunnableBinding
|
from langchain_core.runnables import RunnableBinding
|
||||||
from langchain_core.tools import BaseTool, tool
|
from langchain_core.tools import BaseTool, tool
|
||||||
from pydantic import BaseModel, Field, SecretStr
|
from pydantic import BaseModel, Field, SecretStr
|
||||||
from pydantic.v1 import (
|
from pydantic.v1 import BaseModel as BaseModelV1
|
||||||
BaseModel as BaseModelV1,
|
from pydantic.v1 import Field as FieldV1
|
||||||
)
|
from pydantic.v1 import ValidationError as ValidationErrorV1
|
||||||
from pydantic.v1 import (
|
|
||||||
Field as FieldV1,
|
|
||||||
)
|
|
||||||
from pydantic.v1 import (
|
|
||||||
ValidationError as ValidationErrorV1,
|
|
||||||
)
|
|
||||||
from pytest_benchmark.fixture import BenchmarkFixture # type: ignore[import-untyped]
|
from pytest_benchmark.fixture import BenchmarkFixture # type: ignore[import-untyped]
|
||||||
from syrupy import SnapshotAssertion
|
from syrupy import SnapshotAssertion
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user