-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Fix typing problems reported by mypy in pegen #20297
Conversation
e1aa8e2
to
3f8bbc8
Compare
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.
Didn't even know about field
, really nice. LGTM!
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, @pablogsal, I could not cleanly backport this to |
GH-20300 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit d10fef3) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Some general fixes that mypy was complaining about and use a type-specialized function instead of
visit
to avoid dealing withAny
everywhere. Also, executed "black" over the source.