]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108455: peg_generator: make the mypy config slightly stricter (#108627)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Tue, 29 Aug 2023 11:23:22 +0000 (12:23 +0100)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2023 11:23:22 +0000 (11:23 +0000)
commit0d140b8c5ea83d095cb35b6b0c9434cb63fe6ced
tree39ff9b2c6bcb4968f4086b3af5a385db343877c5
parentc879b9fddf570a46d51df81fd181015ed983224a
gh-108455: peg_generator: make the mypy config slightly stricter (#108627)

* Enable `--no-implicit-reexport`

* Enable the `truthy-bool` error code

* Enable the `ignore-without-code` error code

* Explicitly note that `--warn-unreachable` cannot yet be enabled
Tools/peg_generator/mypy.ini
Tools/peg_generator/pegen/__main__.py
Tools/peg_generator/pegen/parser.py
Tools/peg_generator/pegen/testutil.py