-
Notifications
You must be signed in to change notification settings - Fork 23
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
Suggest using PEP 604-style union types #45
Comments
Another way to do this is to check |
In my view, we should probably not bother with trying to port the PEP 604 logic in |
Hmm, but I didn't propose building replacement snippets 8-) A simple |
Well, feel free to submit a PR, if you like ;) |
Humble suggestion: add new code to suggest a replacement of
Union[...]
types with the|
chain, e.g.Y093 Use PEP 604 union types
. A simple implementation start could be e.g.The text was updated successfully, but these errors were encountered: