Feature or enhancement
Now that we have mypy infrastructure ready https://github.com/python/cpython/blob/main/.github/workflows/mypy.yml we can add more things to the test.
https://github.com/python/cpython/tree/main/Tools/peg_generator has mypy.ini and annotations. So, let's check it as well.
How I plan to do it (separate PRs):
- Start small with the CI job itself and initial fixes
- Add
types-setuptools dependency and fix more problems
- Update config to be stricter and refactor
Linked PRs