Skip to content

pre-commit autoupdate 2026_02_21#934

Merged
JonathanHuot merged 1 commit intooauthlib:masterfrom
cclauss:pre-commit-autoupdate-2026-02-21
Feb 28, 2026
Merged

pre-commit autoupdate 2026_02_21#934
JonathanHuot merged 1 commit intooauthlib:masterfrom
cclauss:pre-commit-autoupdate-2026-02-21

Conversation

@cclauss
Copy link
Copy Markdown
Contributor

@cclauss cclauss commented Feb 21, 2026

% pre-commit autoupdate

[https://github.com/pre-commit/pre-commit-hooks] updating v5.0.0 -> v6.0.0
[https://github.com/codespell-project/codespell] already up to date!
[https://github.com/astral-sh/ruff-pre-commit] updating v0.12.5 -> v0.15.2

% pre-commit run --all-files

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@cclauss cclauss force-pushed the pre-commit-autoupdate-2026-02-21 branch from ce2d2e3 to e5dbceb Compare February 22, 2026 10:31
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
@JonathanHuot JonathanHuot added this to the 3.4.0 milestone Feb 28, 2026
@JonathanHuot
Copy link
Copy Markdown
Member

Please rebase and tests should pass - will merge once done.

Copy link
Copy Markdown
Member

@JonathanHuot JonathanHuot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JonathanHuot JonathanHuot merged commit 3963130 into oauthlib:master Feb 28, 2026
16 checks passed
@cclauss cclauss deleted the pre-commit-autoupdate-2026-02-21 branch February 28, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants