ruff
306ef3bb - [ty] Add stub-file tests to existing module resolver

Commit
188 days ago
[ty] Add stub-file tests to existing module resolver These tests capture existing behavior. I added these when I stumbled upon what I thought was an oddity: we prioritize `foo.pyi` over `foo.py`, but prioritize `foo/__init__.py` over `foo.pyi`. (I plan to investigate this more closely in follow-up work. Particularly, to look at other type checkers. It seems like we may want to change this to always prioritize stubs.)
Author
Committer
Parents
Loading