fix(types): numpy, pydantic and litellm are absent in CI's type-check environment

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Marius Ciepluch
2026-10-14 03:05:12 +02:00
co-authored by Claude Fable 5.1
parent c8f7610313
commit ae837a6aa4
+3 -2
View File
@@ -90,9 +90,10 @@ ignore_missing_imports = true
module = "yaml" module = "yaml"
ignore_missing_imports = true ignore_missing_imports = true
# dspy, pandas, statsmodels and scikit-learn ship no py.typed marker and no stub packages are dev dependencies. # dspy, pandas, statsmodels and scikit-learn ship no py.typed marker and no stub packages are dev dependencies;
# numpy, pydantic and litellm arrive with them and are absent in the type-check environment of CI.
[[tool.mypy.overrides]] [[tool.mypy.overrides]]
module = ["dspy", "dspy.*", "pandas", "pandas.*", "statsmodels.*", "sklearn.*"] module = ["dspy", "dspy.*", "pandas", "pandas.*", "statsmodels.*", "sklearn.*", "numpy", "numpy.*", "pydantic", "pydantic.*", "litellm", "litellm.*"]
ignore_missing_imports = true ignore_missing_imports = true
# The hunt package reaches the benchmark scorers and manifests lazily. benchmarks/ is not in `files` and has never # The hunt package reaches the benchmark scorers and manifests lazily. benchmarks/ is not in `files` and has never