Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

chore(types): update mypy version#768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
parthea merged 8 commits intomainfromupdate_mypy
Jan 22, 2025
Merged

chore(types): update mypy version#768

parthea merged 8 commits intomainfromupdate_mypy
Jan 22, 2025

Conversation

daniel-sanche
Copy link
Contributor

fix a couple typing issues that were causing recent versions of mypy to fail:

  • exceptions.py: error_info variable was reused for a list, and for an optional dict type. Broke the usages into separate variables
  • grpc_helpers_async: addedGeneric to_WrappedCall
  • retry_unary: removed_P arguments fromtarget type annotation. We expect target to be afunctools.partial, and have no arguments

Fixes#682

@product-auto-labelproduct-auto-labelbot added the size: sPull request size is small. labelDec 16, 2024
@daniel-sanchedaniel-sanche marked this pull request as draftDecember 16, 2024 23:05
@daniel-sanchedaniel-sanche marked this pull request as ready for reviewDecember 17, 2024 17:59
@partheapartheaenabled auto-merge (squash)January 22, 2025 21:27
@partheaparthea merged commitfb1c3a9 intomainJan 22, 2025
42 checks passed
@partheaparthea deleted the update_mypy branchJanuary 22, 2025 21:27
@parthea
Copy link
Collaborator

Thanks@daniel-sanche !

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@partheapartheaparthea approved these changes

Assignees

@partheaparthea

Labels
size: sPull request size is small.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

mypy presubmit fails at HEAD with mypy 1.11+
2 participants
@daniel-sanche@parthea

[8]ページ先頭

©2009-2025 Movatter.jp