-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
good-first-issuepriority-0-highrefactoringChanging mypy's internalsChanging mypy's internalstopic-teststopic-usability
Description
Currently callable types in many error messages are formatted as
Callable[[Arg('x', int), VarArg(str)], int]
We should probably switch to more "native" format that is already used in some errors (e.g. for protocol and overloads):
def (x: int, *args: str) -> int
The main obstacle here is probably updating all tests that use the old format.
This is a follow up for #5463
Metadata
Metadata
Assignees
Labels
good-first-issuepriority-0-highrefactoringChanging mypy's internalsChanging mypy's internalstopic-teststopic-usability