Skip to content

Improve pyrepl type-annotation coverage - #119081

Merged
AlexWaygood merged 1 commit into
python:mainfrom
AlexWaygood:pyrepl-annotations
May 17, 2024
Merged

Improve pyrepl type-annotation coverage#119081
AlexWaygood merged 1 commit into
python:mainfrom
AlexWaygood:pyrepl-annotations

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

Some more low-hanging fruit to improve the coverage of type annotations in Lib/_pyrepl, which should improve mypy's ability to spot issues in CI. This gets the number of mypy complaints down from 35 to 14 if you run mypy --config-file Lib/_pyrepl/mypy.ini --disallow-untyped-calls

@AlexWaygood
AlexWaygood merged commit 033f5c8 into python:mainMay 17, 2024
@AlexWaygood
AlexWaygood deleted the pyrepl-annotations branch May 17, 2024 10:13
@lysnikolaoulysnikolaou added the needs backport to 3.13 bugs and security fixes label May 22, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @AlexWaygood for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 22, 2024
(cherry picked from commit 033f5c8)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-119415 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label May 22, 2024
lysnikolaou pushed a commit that referenced this pull request May 22, 2024
(cherry picked from commit 033f5c8)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@JelleZijlstraJelleZijlstra mentioned this pull request May 28, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issueskip newstopic-replRelated to the interactive shell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@AlexWaygood@pablogsal@lysnikolaou