Repository navigation
[pre-commit.ci] 🔧 pre-commit autoupdate - #65
Conversation
updates: - [github.com/astral-sh/uv-pre-commit: 0.12.21 → 0.12.23](astral-sh/uv-pre-commit@0.12.21...0.12.23) - [github.com/psf/black-pre-commit-mirror: 26.5.1 → 26.10.0](psf/black-pre-commit-mirror@26.5.1...26.10.0) - [github.com/astral-sh/ruff-pre-commit: v0.16.9 → v0.16.10](astral-sh/ruff-pre-commit@v0.16.9...v0.16.10) - [github.com/pre-commit/mirrors-mypy: v2.3.1 → v2.4.0](pre-commit/mirrors-mypy@v2.3.1...v2.4.0) - [github.com/henryiii/validate-pyproject-schema-store: 2026.09.30 → 2026.10.02](henryiii/validate-pyproject-schema-store@2026.09.30...2026.10.02)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #65 +/- ##
=======================================
Coverage 98.89% 98.89%
=======================================
Files 5 5
Lines 271 271
Branches 44 44
=======================================
Hits 268 268
Misses 2 2
Partials 1 1 ☔ View full report in Codecov by Harness. |
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path=".pre-commit-config.yaml" line_range="153" />
<code_context>
# Python files
- repo: https://github.com/psf/black-pre-commit-mirror
- rev: 26.5.1
+ rev: 26.10.0
hooks:
- id: black
</code_context>
<issue_to_address>
**Sync hook reverts tool updates**
When the sync-with-uv hook runs while uv.lock still pins the older tool versions, the hook rewrites the Black, Ruff, and mypy revisions to the locked versions, so the updated configuration is changed back and its consistency check fails.
Update the corresponding uv.lock versions alongside these hook revisions.
Also at `.pre-commit-config.yaml:163`, `.pre-commit-config.yaml:172`.
</issue_to_address>
### Comment 2
<location path=".pre-commit-config.yaml" line_range="153" />
<code_context>
# Python files
- repo: https://github.com/psf/black-pre-commit-mirror
- rev: 26.5.1
+ rev: 26.10.0
hooks:
- id: black
</code_context>
<issue_to_address>
**Tool checks disagree across workflows**
When the configured tools check code whose formatting or diagnostics differ between the versions in use, black formats source and embedded documentation differently, and pre-commit and uv-managed Black, Ruff, and mypy checks can report different results; callers see inconsistent local and CI checks.
Keep the pre-commit, blacken-docs, lockfile, and CI tool versions aligned.
Also at `.pre-commit-config.yaml:163`, `.pre-commit-config.yaml:172`.
</issue_to_address>Sourcery assessment
Approval pending. 2 findings to address first.
Blocking findings: .pre-commit-config.yaml:153, .pre-commit-config.yaml:153
| # Python files | ||
| - repo: https://github.com/psf/black-pre-commit-mirror | ||
| rev: 26.5.1 | ||
| rev: 26.10.0 |
There was a problem hiding this comment.
🔴 Critical · Sync hook reverts tool updates
When the sync-with-uv hook runs while uv.lock still pins the older tool versions, the hook rewrites the Black, Ruff, and mypy revisions to the locked versions, so the updated configuration is changed back and its consistency check fails.
Update the corresponding uv.lock versions alongside these hook revisions.
Also at .pre-commit-config.yaml:163, .pre-commit-config.yaml:172.
Prompt for AI agents
In `.pre-commit-config.yaml` at line 153:
**Sync hook reverts tool updates**
When the sync-with-uv hook runs while uv.lock still pins the older tool versions, the hook rewrites the Black, Ruff, and mypy revisions to the locked versions, so the updated configuration is changed back and its consistency check fails.
Update the corresponding uv.lock versions alongside these hook revisions.
Also at `.pre-commit-config.yaml:163`, `.pre-commit-config.yaml:172`.| # Python files | ||
| - repo: https://github.com/psf/black-pre-commit-mirror | ||
| rev: 26.5.1 | ||
| rev: 26.10.0 |
There was a problem hiding this comment.
🟡 Medium · Tool checks disagree across workflows
When the configured tools check code whose formatting or diagnostics differ between the versions in use, black formats source and embedded documentation differently, and pre-commit and uv-managed Black, Ruff, and mypy checks can report different results; callers see inconsistent local and CI checks.
Keep the pre-commit, blacken-docs, lockfile, and CI tool versions aligned.
Also at .pre-commit-config.yaml:163, .pre-commit-config.yaml:172.
Prompt for AI agents
In `.pre-commit-config.yaml` at line 153:
**Tool checks disagree across workflows**
When the configured tools check code whose formatting or diagnostics differ between the versions in use, black formats source and embedded documentation differently, and pre-commit and uv-managed Black, Ruff, and mypy checks can report different results; callers see inconsistent local and CI checks.
Keep the pre-commit, blacken-docs, lockfile, and CI tool versions aligned.
Also at `.pre-commit-config.yaml:163`, `.pre-commit-config.yaml:172`.
updates: