-
-
Notifications
You must be signed in to change notification settings - Fork 521
Description
mypy_primer is a project that runs mypy on lots of public open source repositories.
In CI, it can do a mypy run before and after some proposed changes in a pull request, and report the diff between those results. It's being used by typeshed and mypy itself among others. Example:
If we add this to django-stubs and djangorestframework-stubs, it would give us better visibility into possible breakage we could be causing and help troubleshoot issues earlier.
I have no immediate plans to implement this and no experience with mypy_primer. I opened this issue to facilitate some discussion and feedback.
Most projects from mypy_primer's built-in project definitions wouldn't be very useuful for us, because they don't use Django. So we would probably want to create our own list of open source Django and django-rest-framework projects for mypy_primer. Suggestions for which ones to add would be helpful.
