Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-108455: peg_generator: enable mypy's --warn-unreachable setting and redundant-expr error code#109160

Merged
pablogsal merged 1 commit into
python:mainpython/cpython:mainfrom
AlexWaygood:pegen-reachabilityAlexWaygood/cpython:pegen-reachabilityCopy head branch name to clipboard
Sep 8, 2023
Merged

gh-108455: peg_generator: enable mypy's --warn-unreachable setting and redundant-expr error code#109160
pablogsal merged 1 commit into
python:mainpython/cpython:mainfrom
AlexWaygood:pegen-reachabilityAlexWaygood/cpython:pegen-reachabilityCopy head branch name to clipboard

Conversation

@AlexWaygood

@AlexWaygood AlexWaygood commented Sep 8, 2023

Copy link
Copy Markdown
Member

Closes #108455

The changes to the .py files are all due to branches that mypy flagged as being unreachable.

@pablogsal

Copy link
Copy Markdown
Member

Thanks a lot @AlexWaygood !

@AlexWaygood AlexWaygood deleted the pegen-reachability branch September 8, 2023 21:18
@AlexWaygood

Copy link
Copy Markdown
Member Author

You're very welcome @pablogsal, thanks for the reviews!

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.

Run mypy on Tools/peg_generator

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.