chore: update pre-commit hook releases - #22
Merged
Conversation
- Upgrade uv-pre-commit to the latest stable 0.12.9 release - Upgrade ruff-pre-commit to the latest stable v0.16.5 release
mjun0812
commented
Sep 2, 2026
mjun0812
left a comment
OwnerAuthor
There was a problem hiding this comment.
Codex PR Review
Summary
This pull request updates the generated project's uv and Ruff pre-commit hook revisions while preserving the existing hook configuration. No blocking findings were confirmed. The Contract axis was skipped because no spec source was available.
Verdict
APPROVE
Findings
N/A
Reviewed by Codex at f7fc4fa
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Overview and Background
Update the generated project's pre-commit hooks to the latest stable releases available on 2026-09-03. The previous configuration used uv-pre-commit 0.8.22 and ruff-pre-commit v0.13.2, leaving hook behavior behind current stable releases.
Related Issues
None.
Implementation Approach
Update only the existing
revvalues intemplate/.pre-commit-config.yaml, preserving the current hook set and arguments. The versions were selected from the official GitHub release lists usinggh api, excluding prereleases and drafts.Changes
0.12.9.v0.16.5.Impact
Generated projects will use newer uv lock and Ruff pre-commit environments. No additional hooks, configuration, runtime behavior, or compatibility layers are introduced.
Validation Results
uvx copier copy . /tmp/python-copier-precommit-generated --defaults -d project_name=test-copier -d package_name=test_copier -d description='Test project' -d author_name=test-copier -d author_email=test-copier@example.com --trust: passed.uv run pre-commit run --all-files: passed (uv-lock,ruff check, andruff format).uv run ruff format --check --diff .: passed.uv run --frozen pytest -vs: passed (2 tests).uv run ruff check --output-format=github .: reports existingrule-codes-in-selectorsconfiguration diagnostics in the generatedpyproject.toml; that file is outside this change.