| 149 | | == Expand django-stubs coverage == |
| 150 | | |
| 151 | | || Difficulty || Hard. |
| 152 | | || Size || Variable |
| 153 | | || Potential Mentors || 2024 mentor: Adam Johnson |
| 154 | | || Key Skills || Python typing and Django-stubs |
| 155 | | |
| 156 | | [https://github.com/typeddjango/django-stubs django-stubs] is an external project that adds type hints to Django. It may be possible to work on it under GSoC if you can show experience with Python’s type hints and Mypy. |
| 157 | | |
| 158 | | django-stubs uses Mypy’s stubtest tool to check that its type hints align with Django’s source, per [https://github.com/typeddjango/django-stubs/blob/master/CONTRIBUTING.md#testing-stubs-with-stubtest its contributing documentation]. The “todo” list contains ~1600 functions and classes missing type hints. A proposal targeting a specific, significant subset of the missing types is likely to be accepted. |