Skip to content

Migrate from mypy to ty as a type checker - #1731

Open
tleonhardt wants to merge 3 commits into
mainfrom
ty
Open

Migrate from mypy to ty as a type checker#1731
tleonhardt wants to merge 3 commits into
mainfrom
ty

Conversation

@tleonhardt

@tleonhardt tleonhardt commented Aug 19, 2026

Copy link
Copy Markdown
Member

Migrate from mypy to ty for Python type checking since ty is much faster.

ty is a bit stricter out-of-the-box. The top-level ty.toml file has some configuration to ignore one type of rule check where it attempts to validate that an attribute must exist given the type.

@tleonhardt tleonhardt self-assigned this Aug 19, 2026
@tleonhardt
tleonhardt requested a review from kmvanbrunt as a code owner August 19, 2026 21:30
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.59%. Comparing base (8731ef9) to head (4de029f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1731      +/-   ##
==========================================
- Coverage   99.61%   99.59%   -0.02%     
==========================================
  Files          23       23              
  Lines        5917     5920       +3     
==========================================
+ Hits         5894     5896       +2     
- Misses         23       24       +1     
Flag Coverage Δ
unittests 99.59% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@tleonhardt
tleonhardt requested a review from bambu August 19, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant