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
True. Alternatively, in Python 3.7 you will be able to write from __future__ import annotations and then annotations will no longer be evaluated when encountered at runtime.
Steps to reproduce
mypy doesn't detect the need for a forward declaration. For example:
Current behavior
mypy doesn't detect anything wrong with the above code.
Expected behavior
mypy should flag the reference to "Foo" on line 2 as being undefined.
mypy --version output
mypy 0.570
The text was updated successfully, but these errors were encountered: