PY-76862 Report circular references in string literal type annotations

GitOrigin-RevId: 793e8efe56d7e8f979cab0cdf53958383f6b60a4
This commit is contained in:
Daniil Kalinin
2025-06-05 11:12:16 +00:00
committed by intellij-monorepo-bot
parent efe4bf2a2c
commit 44bff92759
3 changed files with 61 additions and 0 deletions
@@ -1198,6 +1198,7 @@ INSP.type.hints.type.alias.invalid.assigned.value=Assigned value of type alias m
INSP.type.hints.type.alias.cannot.be.parameterized='TypeAlias' cannot be parameterized
INSP.type.hints.type.hint.is.not.valid=Type hint is invalid or refers to the expression which is not a correct type
INSP.type.hints.forward.reference.in.union=Union type annotations with forward references must be wrapped in quotes entirely
INSP.type.hints.circular.reference=Circular reference
INSP.type.hints.typeIs.has.zero.parameters=User-defined TypeGuard or TypeIs functions must have at least one parameter
INSP.type.hints.typeIs.does.not.match=Return type of TypeIs ''{0}'' is not consistent with the type of the first parameter ''{1}''
INSP.type.hints.self.use.in.staticmethod=Cannot use 'Self' in staticmethod