Skip to content

Commit a3196ca

Browse files
committed
ci: update type-checking mypy to 2.1.0 to match the fork base
Bump the mypy used by the static-analysis workflow from 1.14.1 to 2.1.0, the version our mypyc fork is based on, so type-checking matches what the compiled build sees. mypy 2.1 requires the type-check target (tool.mypy python_version) to be 3.10+, so it can no longer be rez's lowest supported runtime (3.8); set it to 3.10. Regenerate mypy-baseline.txt against mypy 2.1.0 (the error set differs from 1.14.1: 594 -> 234 baselined entries). Verified the baseline keeps the mypy workflow green (mypy | mypy-baseline filter reports no new errors).
1 parent e92410d commit a3196ca

3 files changed

Lines changed: 188 additions & 533 deletions

File tree

.github/workflows/mypy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Install Dependencies
4040
run: |
41-
pip install mypy==1.14.1 mypy_baseline==0.7.1 types-setuptools
41+
pip install mypy==2.1.0 mypy_baseline==0.7.1 types-setuptools
4242
4343
- name: Run mypy
4444
run: >-

0 commit comments

Comments
 (0)