Closed
Description
I understand this is a silly example, but figured I'd report it anyway.
I can't find a way (other than # type: ignore
) to silence mypy for this line:
x = tuple() # type: Tuple[()]
I found #4211 (which is how I got to Tuple[()]
mypy 0.660 errors with:
testing/resources/builtin_constructors.py:13: error: Incompatible types in assignment (expression has type "Tuple[<nothing>, ...]", variable has type "Tuple[]")