Something to note: Ty does not search for modules in the same places that CPython does by default. It will not find modules installed at ~/.local/lib/python{version}/site-packages/. They insist that you use a venv.
Hi! ty doesn't insist on venv usage; we already support discovering packages from non-venv system Pythons. It looks like `~/.local` was just an oversight; as far as I can see no user reported it yet. Working on a PR to add this support.
If you want Django coverage, pyrefly is much better. I also liked pyrefly because their type inference was more conservative. Though ty lists one place where it seems ty is more conservative?
Hmm, that's not accurate anymore! We look for your Python installation in a number of places these days -- we should discover system installations on PATH, conda installations, pixi installations, and, yes, local virtual environments. Is your Python installation at `~/.local` on PATH?
(sorry, I forgot how local installations work -- of course they are not on PATH. My colleague mentioned above that this is indeed a specific place we don't yet look for installs. My broader point remains that we certainly don't require virtual environments, however.)