From 8c618aa70b974588a9e1b415b7b8ec6caacf20aa Mon Sep 17 00:00:00 2001 From: Alexis Georges Date: Fri, 11 Sep 2026 06:27:46 -0400 Subject: [PATCH] fix(build): make typecheck matches CI (mypy packages/*/src) `make typecheck` ran `uv run mypy .`, which walks every package's tests/conftest.py. mypy treats them as duplicate top-level `conftest` modules and aborts before checking anything, so the documented local command fails on a clean checkout while CI stays green. CI type-checks `packages/*/src`. Point the Makefile target at the same paths so `make typecheck` matches CI and passes. Co-Authored-By: Claude Opus 4.8 --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7043b559..2514d430 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,11 @@ start: test: uv run pytest -# Type-check all packages (uv run mypy) +# Type-check all package sources (matches CI: uv run mypy packages/*/src). +# Not `mypy .`: that walks every package's tests/conftest.py, which mypy sees as +# duplicate top-level `conftest` modules and aborts before checking anything. typecheck: - uv run mypy . + uv run mypy packages/*/src # Check for lint errors lint: