-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Rules pertaining to PEP 695 #12542
Comments
We have some support for this already in https://docs.astral.sh/ruff/rules/non-pep695-type-alias/. I believe that rule does (1) and (3)? |
I don't think so. I might be wrong but it seems to me like this rule is concerned with the I am talking about the new generics style: https://peps.python.org/pep-0695/#summary-examples |
Thanks, you're right, that's my mistake. We may want to fold this into #4617, and just flesh out that issue a bit more. |
MyPy released support for PEP 695 generics: python/mypy#15238
It would be awesome to do any of the following:
I see that for point 3 there is an open related issue. This issue is about the underlying rust implementation for point 3, but does not cover points 1 and 2.
The text was updated successfully, but these errors were encountered: