pre-commit autoupdate 2026_02_21#934
Merged
JonathanHuot merged 1 commit intooauthlib:masterfrom Feb 28, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR performs a routine pre-commit hook update via pre-commit autoupdate, which updates the hooks' versions and applies automatic code formatting fixes required by the newer versions. The PR updates two pre-commit hooks and applies ruff linting fixes throughout the codebase.
Changes:
- Updated pre-commit-hooks from v5.0.0 to v6.0.0
- Updated ruff-pre-commit from v0.12.5 to v0.15.2
- Applied ruff's unused variable linting rule by prefixing intentionally unused variables with underscore throughout test files, source code, and examples
- Fixed trailing whitespace in one comment line
Reviewed changes
Copilot reviewed 33 out of 34 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .pre-commit-config.yaml | Updated pre-commit-hooks to v6.0.0 and ruff-pre-commit to v0.15.2 |
| tests/openid/connect/core/test_server.py | Renamed unused variables with underscore prefix in test methods |
| tests/openid/connect/core/grant_types/test_refresh_token.py | Renamed unused variables with underscore prefix in test methods |
| tests/openid/connect/core/grant_types/test_implicit.py | Renamed unused variables with underscore prefix in test methods |
| tests/openid/connect/core/grant_types/test_hybrid.py | Renamed unused variables with underscore prefix in test methods |
| tests/openid/connect/core/grant_types/test_authorization_code.py | Renamed unused variables with underscore prefix in test methods |
| tests/openid/connect/core/endpoints/test_refresh_token.py | Renamed unused variables with underscore prefix in test methods |
| tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py | Renamed unused variables with underscore prefix in test methods |
| tests/openid/connect/core/endpoints/test_claims_handling.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/test_server.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/grant_types/test_resource_owner_password.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/grant_types/test_refresh_token.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/grant_types/test_implicit.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/grant_types/test_client_credentials.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/grant_types/test_authorization_code.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/endpoints/test_metadata.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/endpoints/test_error_responses.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/endpoints/test_credentials_preservation.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth2/rfc6749/endpoints/test_base_endpoint.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth1/rfc5849/test_client.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth1/rfc5849/endpoints/test_signature_only.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth1/rfc5849/endpoints/test_resource.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth1/rfc5849/endpoints/test_request_token.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth1/rfc5849/endpoints/test_base.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth1/rfc5849/endpoints/test_authorization.py | Renamed unused variables with underscore prefix in test methods |
| tests/oauth1/rfc5849/endpoints/test_access_token.py | Renamed unused variables with underscore prefix in test methods |
| oauthlib/oauth2/rfc6749/utils.py | Renamed unused variables with underscore prefix in host_from_uri function |
| oauthlib/oauth2/rfc6749/tokens.py | Renamed unused variables with underscore prefix in prepare_mac_header function |
| oauthlib/oauth2/rfc6749/parameters.py | Renamed unused variables with underscore prefix in parse_implicit_response and parse_token_response functions |
| oauthlib/oauth2/rfc6749/grant_types/authorization_code.py | Fixed trailing whitespace in comment |
| oauthlib/oauth1/rfc5849/endpoints/request_token.py | Renamed unused variables with underscore prefix in create_request_token_response method |
| oauthlib/oauth1/rfc5849/endpoints/base.py | Renamed unused variables with underscore prefix in _create_request method |
| oauthlib/oauth1/rfc5849/endpoints/access_token.py | Renamed unused variables with underscore prefix in create_access_token_response method |
| examples/device_code_flow.py | Renamed unused variables with underscore prefix in example code |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ce2d2e3 to
e5dbceb
Compare
cclauss
added a commit
to cclauss/oauthlib
that referenced
this pull request
Feb 25, 2026
cclauss
added a commit
to cclauss/oauthlib
that referenced
this pull request
Feb 25, 2026
cclauss
added a commit
to cclauss/oauthlib
that referenced
this pull request
Feb 25, 2026
Member
|
Please rebase and tests should pass - will merge once done. |
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.
%
pre-commit autoupdate%
pre-commit run --all-files