-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule
Description
Follow up tasks from #15565
- Handle generic methods
- Handle
defaultkwargs for Python >= 3.13 - Unquote type variable forward reference annotations (see below)
- Handle
TypeVarTuplegenerics withUnpackinstead of*:class MultipleGenerics(Generic[S, T, Unpack[Ts], P]): ...1 - Allow multiple base classes for generic classes ([
pyupgrade] Handle multiple base classes for PEP 695 generics (UP046) #15659) - Use string replacements for UP040's autofix too, instead of using the
ExprGenerator([pyupgrade] Reuse replacement logic fromUP046andUP047(UP040) #15840) - Rename private type variables in generics (don't make inline generics like
[_T]) ([pyupgrade] Rename private type parameters in PEP 695 generics (UP049) #15862)
Footnotes
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule