Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
masklinn
· 1y ago · 0 comments
Django has a community stubs project, are you using it?
Comments
[–]
aitchnyu
1y ago
Does django-stubs work with other type checkers than Pyright?
[–]
masklinn
OP
1y ago
Stubs 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).
[–]
etimberg
1y ago
the 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