You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msg.py.txt: note: In member "fn" of class "SomeClass":
msg.py.txt:10: error: Argument 1 to "tuple" has incompatible type Set[int]; expected Iterable[...]
I was expecting something like "has incompatible type Set[int]; expected Iterable[Callable]". The "..." is confusing, as it seems to hint at Set[..] not following the Iterable[...] protocol.
The text was updated successfully, but these errors were encountered:
The reason is probably that mypy shortens the text of types occurring in error messages. I think there's already another issue asking to show the full type (or at least to make the limit much larger).
Hi,
for the attached file
msg.py.txt
I get the following error message:
msg.py.txt: note: In member "fn" of class "SomeClass":
msg.py.txt:10: error: Argument 1 to "tuple" has incompatible type Set[int]; expected Iterable[...]
I was expecting something like "has incompatible type Set[int]; expected Iterable[Callable]". The "..." is confusing, as it seems to hint at Set[..] not following the Iterable[...] protocol.
The text was updated successfully, but these errors were encountered: