From 4e93f8f97098e7223eeb5e33def5072402236294 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 2 Jul 2024 10:59:52 -0400 Subject: [PATCH] add mypy overrides --- libs/ai-endpoints/pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/ai-endpoints/pyproject.toml b/libs/ai-endpoints/pyproject.toml index 0b88cef8..ffa4bf03 100644 --- a/libs/ai-endpoints/pyproject.toml +++ b/libs/ai-endpoints/pyproject.toml @@ -72,6 +72,11 @@ select = [ disallow_untyped_defs = "True" exclude = ["notebooks", "examples", "example_data", "langchain_core/pydantic"] +[[tool.mypy.overrides]] +# conditional dependencies introduced by langsmith-sdk +module = ["numpy", "pytest"] +ignore_missing_imports = true + [tool.coverage.run] omit = ["tests/*"]