-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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: Enable strict_optional = true
for libregrtest/run_workers
#126855
Conversation
sobolevn
commented
Nov 15, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: libregrtest: Improve type hints; explore running mypy in CI #109413
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.
Looks great, thank you!
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
Failure is related:
Fixing |
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@@ -102,6 +102,9 @@ def __init__(self, | |||
super().__init__() | |||
|
|||
|
|||
_NOT_RUNNING = "<not running>" |
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.
You can make it public, it's not a deep secret.
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.
I don't think that it needs to be public, since it is not used outside of this module and probably won't be. If you prefer to have it as public - I will change it :)
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
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…_workers` (pythonGH-126855) (cherry picked from commit a1d9c8a) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
GH-126967 is a backport of this pull request to the 3.13 branch. |
Thanks everyone for so many helpful suggestions! It turned out very good! 👍 |
Thanks for your nice change. |