3 ms·
> Are those results wrong? I don't know. Some packages just don't work with type checkers, e.g. Django.
by koakuma-chan 2y ago
> Are those results wrong?
I don't know. Some packages just don't work with type checkers, e.g. Django.
- masklinn 2y agoDjango has a community stubs project, are you using it?
- etimberg 2y agothe stubs can only do so much. There's so much magic and inferred properties that a type checker will never be able to fill in alone
- aitchnyu 2y agoDoes django-stubs work with other type checkers than Pyright?
- masklinn 2y agoStubs are a standard python feature (PEP 561) so I'd expect them to work with any type checker which supports stubs, which should be all of them (as much of the ecosystem is typed via stubs).