Skip to content

[pre-commit.ci] 🔧 pre-commit autoupdate - #65

Merged
tsvikas merged 2 commits into
mainfrom
pre-commit-ci-update-config
Oct 6, 2026
Merged

tsvikas merged 2 commits into
mainfrom
pre-commit-ci-update-config

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

codecov Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.89%. Comparing base (ce56d47) to head (fd676f9).
✅ All tests successful. No failed tests found.

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.
📢 Have feedback on the report? Share it here.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread .pre-commit-config.yaml Outdated
# Python files
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.1
rev: 26.10.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 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`.

Comment thread .pre-commit-config.yaml Outdated
# Python files
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.1
rev: 26.10.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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`.

@tsvikas
tsvikas merged commit e694d93 into main Oct 6, 2026
40 of 49 checks passed
@tsvikas
tsvikas deleted the pre-commit-ci-update-config branch October 6, 2026 08:25
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