From ae837a6aa42eed561fad02464062277988ba181a Mon Sep 17 00:00:00 2001 From: Marius Ciepluch <11855163+norandom@users.noreply.github.com> Date: Wed, 14 Oct 2026 03:05:12 +0200 Subject: [PATCH] fix(types): numpy, pydantic and litellm are absent in CI's type-check environment Co-Authored-By: Claude Fable 5.1 --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 732ce96..877269c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,9 +90,10 @@ ignore_missing_imports = true module = "yaml" 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]] -module = ["dspy", "dspy.*", "pandas", "pandas.*", "statsmodels.*", "sklearn.*"] +module = ["dspy", "dspy.*", "pandas", "pandas.*", "statsmodels.*", "sklearn.*", "numpy", "numpy.*", "pydantic", "pydantic.*", "litellm", "litellm.*"] ignore_missing_imports = true # The hunt package reaches the benchmark scorers and manifests lazily. benchmarks/ is not in `files` and has never