-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-109413: Add more type hints to libregrtest
#126352
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you! I think that we backport such changes (based on experience of #109413), so I will add labels! |
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @sobolevn, I could not cleanly backport this to
|
(cherry picked from commit bfc1d25) Co-authored-by: sobolevn <[email protected]>
GH-126388 is a backport of this pull request to the 3.13 branch. |
I will try to create a manual backport to 3.12, but it is not easy: #125597 |
Thanks! If you're interested in working in more improvements here, the mypy config we use for
I wouldn't worry about it too much if it's hard. I wouldn't say that these changes are important to backport in and of themselves. The main reason to backport them is to reduce the risk of merge conflicts when backporting future bugfixes (which are important to backport) to |
…H-126352) (cherry picked from commit bfc1d25) Co-authored-by: sobolevn <[email protected]>
…H-126352) (cherry picked from commit bfc1d25) Co-authored-by: sobolevn <[email protected]>
GH-126389 is a backport of this pull request to the 3.12 branch. |
Yes, I am working on some further fixes :) |
While working on #126237 I've noticed that there are quite a lot of simple and uncontroversial type hints that I can add to
libregrtest
.I also bumped mypy to the recent version (it is the same as 1.12, but faster).