Add a development dependency on django-stubs.

Review Request #12783 — Created Jan. 11, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

django-stubs installs type hints for Django, helping us write more
correct code. It's not perfect, in that it works better for mypy than
pyright, but it gets us pretty far.

This is going to be required in order for some modules to import utility
type hints from this module, so that we can better type our own code.

Been using this module to verify type hints.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add a development dependency on django-stubs.
`django-stubs` installs type hints for Django, helping us write more correct code. It's not perfect, in that it works better for mypy than pyright, but it gets us pretty far. This is going to be required in order for some modules to import utility type hints from this module, so that we can better type our own code.
076b116cc044d549fc9889a18eca0c0f2e2bff63 Christian Hammond
dev-requirements.txt
Loading...