Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-133117: Run mypy ontomllib
in CI#133118
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Lib/tomllib/_parser.py Outdated
@@ -214,7 +214,7 @@ class Flags: | |||
EXPLICIT_NEST = 1 | |||
def __init__(self) -> None: | |||
self._flags: dict[str, dict] = {} | |||
self._flags: dict[str, dict[Any, Any]] = {} |
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.
It is fully typed already, we just need to run the CI if something changes.
Seems it wasn't fully typed already?
Please can you also submit these changes tohttps://github.com/hukkin/tomli ?
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.
Should I do it before or after this PR?
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'd suggest there first, because we're sort of downstream, but no strong preference from me.
Let's ask@hukkin,@encukou and@hauntsaninja.
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.
Done:hukkin/tomli#257
Uh oh!
There was an error while loading.Please reload this page.
merging main so CLA can possibly get unstuck :( |
I will keep this open for a day or so, waiting for others' feedback :) |
5ea9010
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
(cherry picked from commit5ea9010)Co-authored-by: sobolevn <mail@sobolevn.me>
GH-133192 is a backport of this pull request to the3.13 branch. |
Now I will work on enabling |
Uh oh!
There was an error while loading.Please reload this page.
tomllib
stdlib folder #133117