chore(deps-dev): update mypy requirement from >=1.19.1,<1.20 to >=2.0.0,<3.0.0 and fix and adjust configuration and fix code according to the newly uncovered type errors#1437
Draft
jenstroeger wants to merge 2 commits into
Conversation
jenstroeger
marked this pull request as draft
July 24, 2026 17:58
….0,<3.0.0 and fix and adjust configuration and fix code according to the newly uncovered type errors Signed-off-by: Jens Troeger <jens.troeger@light-speed.de>
jenstroeger
force-pushed
the
improve-type-checking
branch
from
July 24, 2026 17:59
7231717 to
63973da
Compare
Contributor
Author
|
Thanks @behnazh-w for running CI: please take a look at the failing type checks here. Shall I go ahead and address these issues or do you want to do that yourself? |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The current version of
mypyis v2.3.0 although PR #1396 stalls at v1.20.2 — there’s no Dependabot for v2? But even so, that PR fails because of howmypyis configured and how it’s used bypre-commit. Related issue discussions are python/mypy#13916 and python/mypy#21769.This PR is in Draft so we can discuss and fix a few type issues.
Description of changes
mypyto its most recent version v2.3.0.Related issues
n/a
Checklist
verifiedlabel should appear next to all of your commits on GitHub.