Replace mypy with ty for static type checking#1042
Merged
guan404ming merged 1 commit intoapache:mainfrom Feb 12, 2026
Merged
Conversation
ryankert01
approved these changes
Feb 12, 2026
Member
ryankert01
left a comment
There was a problem hiding this comment.
Not familiar with Ty, but looks good
Member
|
Not familiar with it as well |
Member
Author
|
FYI: https://docs.astral.sh/ty/, which is widely adopted by open source projects like |
viiccwen
approved these changes
Feb 12, 2026
Member
Author
|
Thanks! |
Contributor
|
@guan404ming thanks for the patch! |
Contributor
|
should we add it as well? |
Member
Author
|
Oops |
Member
Author
|
Lol, I could add it in a follow up. Thanks for the nice catch. |
Contributor
|
got it, thanks |
Member
Author
|
After confirmation, we already have ci running for pre-commit, which contains the |
Contributor
|
sure! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Why
Switch to Astral's ty type checker for faster, more consistent tooling alongside ruff and uv.
How
Checklist