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):
pythongh-108455: Run `mypy` on `Tools/peg_generator`
gh-108455: Run `mypy` on `Tools/peg_generator` (#108456)
pythongh-108455: Simplify the peg_generator mypy config
gh-108455: Simplify the peg_generator mypy config (#108620)
pythongh-108455: Use `strict_optional=True` for `grammar_parser`
gh-108455: peg_generator: make the mypy config slightly stricter (#10…
gh-108455: peg generator: Use `strict_optional=True` for `grammar_par…
gh-108455: peg_generator: install two stubs packages before running m…
Merge branch 'main' into icompexc
gh-108455: peg_generator: use `types-setuptools==68.1.0.1` in CI (#10…
gh-108455: peg_generator: enable mypy's `--warn-unreachable` setting …
Activity
pythongh-108455: Run `mypy` on `Tools/peg_generator`
pythongh-108455: Run `mypy` on `Tools/peg_generator`
gh-108455: Run `mypy` on `Tools/peg_generator` (#108456)
pythongh-108455: Simplify the peg_generator mypy config
gh-108455: Simplify the peg_generator mypy config (#108620)
pythongh-108455: Use `strict_optional=True` for `grammar_parser`
gh-108455: peg_generator: make the mypy config slightly stricter (#10…
gh-108455: peg generator: Use `strict_optional=True` for `grammar_par…
gh-108455: peg_generator: install two stubs packages before running m…
Merge branch 'main' into icompexc
gh-108455: peg_generator: use `types-setuptools==68.1.0.1` in CI (#10…
gh-108455: peg_generator: enable mypy's `--warn-unreachable` setting …