-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Automatically rewrite NamedTuple
and TypedDict
with newer syntaxes
#351
Comments
I'll try this one if that's okay |
A few questions on top of my mind @charliermarsh
|
Good questions!
Na, I think we should ignore (leave it unchanged).
I think it's fine not to handle this case. It'd be nice to include it, but I don't see it as a requirement.
Let's ignore this case, if possible (leave it unchanged).
I would vote for two different rules. |
Regarding NamedTuples:
|
Completed by @martinlehoux! Thank you! |
From
pyupgrade
:This could be a good use-case for the codegen module.
The text was updated successfully, but these errors were encountered: