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
Feature or enhancement
Now that we have
mypyinfrastructure 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.iniand annotations. So, let's check it as well.How I plan to do it (separate PRs):
types-setuptoolsdependency and fix more problemsLinked PRs
mypyonTools/peg_generator#108456strict_optional=Trueforgrammar_parser#108629types-setuptools==68.1.0.1in CI #108697--warn-unreachablesetting andredundant-exprerror code #109160