-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
I'm aware of this python/mypy#6710
I understand the points raised here python/mypy#6710
However the current issue is that
raise NotImplemented()
seems perfectly valid to mypy when in fact it isn't, since it's not callable.
So basically, it should have been a NotImplementedError but mypy didn't find it (I found it with pyflakes).
Do you think it is possible to make it an almost-but-non-callable-Any?
Otherwise it could perhaps be mypy to warn about odd uses?
Metadata
Metadata
Assignees
Labels
No labels