diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.toml index 17ffaa4ed8..429a3c14bf 100644 --- a/libs/core/pyproject.toml +++ b/libs/core/pyproject.toml @@ -80,6 +80,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/*"]