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

fix(types): add full type annotations to exceptions module for Mypy strict mode (#1508)#1717

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

Open
cureprotocols wants to merge2 commits intogoogleapis:main
base:main
Choose a base branch
Loading
fromcureprotocols:clean-exceptions

Conversation

@cureprotocols
Copy link

This PR contributes to#1508 by adding complete type annotations togoogle/auth/exceptions.py.

✔️ Highlights:

  • Annotated all exception classes with explicit return types.
  • Replaced keyword-only arguments with**kwargs for Python 3.7 compatibility.
  • Ensured backward compatibility and preserved existing exception behavior.
  • Verified clean using:mypy --strict google/auth/exceptions.py

This continues the ongoing effort to fully type this library and improve static analysis support.

Let me know if any refinements are needed!

@cureprotocolscureprotocols requested review froma team ascode ownersApril 3, 2025 01:46
@gkevinzhenggkevinzheng requested a review froma team as acode ownerDecember 17, 2025 19:41
@partheaparthea added kokoro:force-runAdd this label to force Kokoro to re-run the tests. kokoro:runAdd this label to force Kokoro to re-run the tests. labelsDec 17, 2025
@yoshi-kokoroyoshi-kokoro removed kokoro:runAdd this label to force Kokoro to re-run the tests. kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelsDec 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@partheapartheaparthea approved these changes

@gkevinzhenggkevinzhenggkevinzheng approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@cureprotocols@parthea@gkevinzheng@yoshi-kokoro

[8]ページ先頭

©2009-2025 Movatter.jp