Comment by koakuma-chan
Comment by koakuma-chan 2 months ago
I just ran ty and it can't resolve any imports whereas pyrefly passes. Why would that be? I hate Python so much.
Comment by koakuma-chan 2 months ago
I just ran ty and it can't resolve any imports whereas pyrefly passes. Why would that be? I hate Python so much.
I just put __init__.py everywhere, not sure it does something but to be safe
ty doesn't invoke a Python interpreter to discover imports yet — so you need to either set `VIRTUAL_ENV` or pass `--python` to configure your target environment. We'll expand support here in the future, but this part of ty's interface is intentionally minimal while we focus on core type checking features.