Skip to content

Conversation

@cureprotocols
Copy link

This PR contributes to #1508 by fully typing both google/oauth2/utils.py and google/auth/exceptions.py under --strict mode.

✅ Changes

  • Added explicit return and argument types across both files.
  • Enhanced OAuthError with optional response_body to allow better downstream debugging.
  • mypy --strict verified ✅ on both files.

These changes are isolated, fully backward-compatible, and bring the codebase closer to strict typing compliance.

Let me know if anything else needs to be adjusted!

@cureprotocols cureprotocols requested review from a team as code owners April 3, 2025 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant