mypy
should use List
when complaining about issues with the List
type, instead of list
#18530
Labels
mypy
should use List
when complaining about issues with the List
type, instead of list
#18530
Bug Report
mypy
should useList
when surfacing errors with theList
type, notlist
.It's confusing to engineers if
mypy
useslist
when complaining about a type error because then engineers are searching the source code for occurrences oflist
, when the problem is actually with the usage ofList
.To Reproduce
Expected Behavior
mypy
should complain withActual Behavior
mypy
actually complains withYour Environment
mypy==1.10.0
mypy.ini
(and other config files): n/aPython 3.10.12
The text was updated successfully, but these errors were encountered: