-
-
Notifications
You must be signed in to change notification settings - Fork 141
Convert typing declarations to use TypeAlias #345
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
Comments
Fun fact: typeshed pretends that |
I think flake8-pyi recommends that and checks for it (disable in our config for now). Definitely good to make it more explicit. |
Could also start using |
Or from https://docs.python.org/3.11/library/typing.html#typing.Self |
|
See discussion here: #341 (comment)
Should we change
_typing.pyi
to make all these types that we create be declared withTypeAlias
(imported fromtyping_extensions
) ?@twoertwein - your opinion?
The text was updated successfully, but these errors were encountered: