-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Labels
Description
Please consider the following stub file:
class Foo:
bar: Bar
class Bar: ...
pytype 2020.06.01 complains:
third_party/3/test2/__init__.pyi: pytype.pytd.visitors.SymbolLookupError: Couldn't find Bar in test2
As stub files should generally be considered to be using from __future__ import annotations
, I believe this should work. (mypy accepts it also.) Easily worked around, so just a minor issue.