-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule
Description
MyPy released support for PEP 695 generics: python/mypy#15238
It would be awesome to do any of the following:
- get linting errors for code that uses older style generics (TypeVar, ParamSpec etc.) for Python 3.12+
- get linting errors for code that uses newer style generics and should be backward compatible with lower Python versions
- automagically upgrade older style generics to use the new syntax
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule