Skip to content

Commit

Permalink
Merge pull request #64 from langchain-ai/cc/add_mypy_overrides
Browse files Browse the repository at this point in the history
ai-endpoints[patch]: add mypy overrides
  • Loading branch information
ccurme authored Jul 2, 2024
2 parents 2d3457f + 4e93f8f commit d684480
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libs/ai-endpoints/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"]

Expand Down

0 comments on commit d684480

Please sign in to comment.