PY-76852 Report tuples with more than 1 unpacked unbound tuples as invalid

GitOrigin-RevId: 2bc31aa784572bbfdc5600e09aa027c149101846
This commit is contained in:
evgeny.bovykin
2025-06-03 21:06:07 +00:00
committed by intellij-monorepo-bot
parent 05bf853261
commit 72b4cd57c7
4 changed files with 35 additions and 1 deletions

View File

@@ -1209,6 +1209,7 @@ INSP.type.hints.expected.a.type=Expected a type
INSP.type.hints.metaclass.cannot.be.generic=Metaclass cannot be generic
INSP.type.hints.unbound.type.variable=Unbound type variable
INSP.type.hints.some.type.variables.are.used.by.an.outer.scope=Some type variables ({0}) are used by an outer scope
INSP.type.hints.at.most.one.unpacked.tuple=Type argument list can have at most one unpacked TypeVarTuple or tuple
QFIX.remove.function.annotations=Remove function annotations
QFIX.replace.with.target.name=Replace with the target name
QFIX.remove.generic.parameters=Remove generic parameters