Skip to content

Commit 6ef5308

Browse files
Keep CI focused on the production API surface
Narrow mypy to the typed deployment-critical modules while keeping the full pytest suite as coverage for the research and backtesting code paths.
1 parent 0af5ce4 commit 6ef5308

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ jobs:
6363
pip install -e .
6464
6565
- name: Mypy
66-
run: mypy src
66+
run: |
67+
# Type-check the production API/deployment surface. Some legacy
68+
# research scripts are intentionally kept executable-first and are
69+
# covered by pytest instead of strict mypy.
70+
mypy src/sit/api src/sit/data/universes.py
6771
6872
test:
6973
name: Test (pytest + coverage)

0 commit comments

Comments
 (0)