Without digging too deep- what is the Django story?
Django does a bunch of magic which is challenging for the type checkers to handle well.
Without digging too deep- what is the Django story?
Django does a bunch of magic which is challenging for the type checkers to handle well.
Ty doesn't support Django yet, and it doesn't have a plugin system, so third party developers can't improve it. If you need Django support, it is better to stick to mypy or pyright for the time being.
Is Django planned? Or always going to be a non first party kind of deal?
It is being planned, but there is no timeframe [1]:
> We are planning to add dedicated Django support at some point, but it's not on our short-term roadmap
[1] https://github.com/astral-sh/ruff/pull/21308#issuecomment-35...
They say in the docs that they want Django support before the official release.
Feel free to use Zuban, it already supports Django models and is way ahead in typing support (and it's probably as fast as Ty).