core[patch]: Update mypy config (#21684)

Update mypy config to ignore checking deps from numpy and pytest (which are optional in langsmith sdk)
pull/19608/head^2
Eugene Yurtsev 3 weeks ago committed by GitHub
parent 9973547aef
commit e69a9bedf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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/*"]

Loading…
Cancel
Save