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-104050: Add typing to Argument Clinic converters #104547
gh-104050: Add typing to Argument Clinic converters #104547
Conversation
erlend-aasland
commented
May 16, 2023
•
edited by bedevere-bot
edited by bedevere-bot
- Issue: Add type annotations to clinic.py #104050
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 good.
Doesn't need to be done in this PR, but most of the accept
parameters could be annotated with set[bltns.type[Any]]
. You could create an alias for that annotation somewhere, to make it less repetitive, and then add that alias as an annotation to those parameters
Let's save that for the next PR. |
|