zanie 2 months ago

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.

akdor1154 2 months ago

> I hate Python so much.

Look I get that it's frustrating, but the tool you're whinging about is literally pre-alpha.

zem 2 months ago

I love the language, but I do hate the import system too, it makes everything harder

  • koakuma-chan 2 months ago

    I just put __init__.py everywhere, not sure it does something but to be safe