-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Currently the stubs are only searched automatically from the directory stubs below the directory containing (the translated) mypy.py. It would be useful to also look for stubs in a directory relative to the program being type checked/run.
For example, consider the following hierarchy:
d/foo.py
d/stubs/mylib.py
Now if d/foo.py does import mylib
, it should refer to the mylib.py file in the stubs directory under d. stubs
is a magic directory name for stubs.