4 ms·
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.
by 0cf8612b2e1e 10mo ago
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.
- selcuka 10mo agoTy 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.
- 0cf8612b2e1e 10mo agoIs Django planned? Or always going to be a non first party kind of deal?
- selcuka 10mo agoIt 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-3503018889 https://github.com/astral-sh/ruff/pull/21308#issuecomment-35...
- czue 10mo agoThey say in the docs that they want Django support before the official release.
- davidhalter 10mo agoFeel free to use Zuban, it already supports Django models and is way ahead in typing support (and it's probably as fast as Ty).