mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-28 17:38:36 +00:00
core[patch]: Update mypy config (#21684)
Update mypy config to ignore checking deps from numpy and pytest (which are optional in langsmith sdk)
This commit is contained in:
parent
9973547aef
commit
e69a9bedf8
@ -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…
Reference in New Issue
Block a user