Remix.run Logo
0cf8612b2e1e 6 days 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 6 days ago | parent | next [-]

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.

0cf8612b2e1e 6 days ago | parent [-]

Is Django planned? Or always going to be a non first party kind of deal?

selcuka 5 days ago | parent [-]

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...

czue 4 days ago | parent [-]

They say in the docs that they want Django support before the official release.

davidhalter 4 days ago | parent | prev [-]

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).