FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-108455: peg_generator: make the mypy config slightly stricter by AlexWaygood · Pull Request #108627 · python/cpython · GitHub

Repository navigation

gh-108455: peg_generator: make the mypy config slightly stricter - #108627

Merged
AlexWaygood merged 4 commits into
python:mainfrom
AlexWaygood:peg-mypy-stricter
Aug 29, 2023
Merged

AlexWaygood merged 4 commits into
python:mainfrom
AlexWaygood:peg-mypy-stricter

Conversation

AlexWaygood commented Aug 29, 2023 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

This picks some low-hanging fruit when it comes to the mypy config, enabling various stricter settings that don't require large code changes:

  • Enable --no-explicit-reexport
  • Enable the truthy-bool and ignore-without-code error codes
  • Explicitly note in our config file that --warn-unreachable can't yet be enabled. (It would take several code changes before we could enable it; it's deferred for now.)

AlexWaygood enabled auto-merge (squash) August 29, 2023 11:19
AlexWaygood merged commit 0d140b8 into python:main Aug 29, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL