From 7bcd2173b784a3764d56a64ddca5205d7c8fe238 Mon Sep 17 00:00:00 2001 From: Robert Sigmundsson Date: Sun, 12 Jul 2026 18:07:39 +0200 Subject: [PATCH] build(mypy): ignore missing stubs for sentence_transformers sentence_transformers is an optional runtime dep (guarded by try/except ImportError in reranker.py and semantic_discovery.py) not installed in the test venv, so mypy reported import-not-found. Add it to the existing ignore_missing_imports override list (CS-1) so the fork's mypy gate is fully green without touching the optional-import guards. (cherry picked from commit 36a7e4735944dfe961686cc33d9bc9399954de7f) (cherry picked from commit 92b65777d6960b15ff1dc6ede59c83436b272447) --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 5c8b1467..0c06324a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -258,6 +258,7 @@ module = [ "openpyxl.*", "google.genai.*", "watchdog.*", + "sentence_transformers.*", ] ignore_missing_imports = true