Add a development dependency on django-stubs.

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

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.

Summary ID
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
david
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-6.x (ce46a29)
Loading...