The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
core: make ruff rule PLW1510 unfixable (#31868)
Christophe Bornet4134b36db8c8
diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.tomlindex 93ac1c0db7..a7e3cb2625 100644--- a/libs/core/pyproject.toml+++ b/libs/core/pyproject.toml@@ -103,6 +103,8 @@ ignore = ["PLC0415","PLR2004",]+unfixable = ["PLW1510",]+flake8-type-checking.runtime-evaluated-base-classes = ["pydantic.BaseModel","langchain_core.load.serializable.Serializable","langchain_core.runnables.base.RunnableSerializable"]flake8-annotations.allow-star-arg-any = trueflake8-annotations.mypy-init-return = truediff --git a/libs/core/tests/benchmarks/test_imports.py b/libs/core/tests/benchmarks/test_imports.pyindex f3b509f024..f8a06a6b9f 100644--- a/libs/core/tests/benchmarks/test_imports.py+++ b/libs/core/tests/benchmarks/test_imports.py@@ -51,4 +51,4 @@ from pytest_benchmark.fixture import BenchmarkFixture # type: ignore[import-untdef test_import_time(benchmark: BenchmarkFixture, import_path: str) -> None:@benchmark # type: ignore[misc]def import_in_subprocess() -> None:- subprocess.run([sys.executable, "-c", import_path], check=False)+ subprocess.run([sys.executable, "-c", import_path], check=True)