Skip to content

⬆️ Bump prek to ~=0.5.0 - #74

Merged
tsvikas merged 1 commit into
mainfrom
prek-0.5
Sep 27, 2026
Merged

tsvikas merged 1 commit into
mainfrom
prek-0.5

Conversation

@tsvikas

@tsvikas tsvikas commented Sep 27, 2026

Copy link
Copy Markdown
Owner

The template capped prek at ~=0.4.0, both for the template repo and for generated projects, while prek 0.5.3 is current. ruff (~=0.16.0, latest 0.16.9) and mypy (~=2.3.0, latest 2.3.1) were already current.

Changes

  • pyproject.toml and project_name/pyproject.toml.jinja: prek ~=0.4.0 → ~=0.5.0. uv.lock now resolves prek 0.5.3.
  • Both justfiles' deps-update recipes: prek auto-update → prek update. prek 0.5.0 removed auto-update. prek update still takes -j, which the template repo's recipe uses.
  • The update: block comment in both pre-commit configs now says "prek update config".

Other 0.5.0 breaking changes, checked

The template does not use @-prefixed group names, PREK_MAX_CONCURRENCY, or prek init-template-dir.

Note

CI was already on prek 0.5: j178/prek-action v3.0.0 installs prek-version: latest by default. This bump brings local runs in line with it.

Verification

  • just lint passes in the template repo on prek 0.5.3.
  • Full ctt run is in progress; results in a comment.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GyMoD8tx4oz1bpJ1tEL845

prek 0.5.0 removed `prek auto-update` in favour of `prek update`, so
both justfiles' deps-update recipes switch to it (`-j` still works).
CI already ran prek 0.5: prek-action installs the latest by default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GyMoD8tx4oz1bpJ1tEL845

@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 reviewed your changes and they look great!

Sourcery assessment

Approved.


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

@tsvikas

tsvikas commented Sep 27, 2026

Copy link
Copy Markdown
Owner Author

pre-commit.ci run

@tsvikas
tsvikas merged commit 9de1e67 into main Sep 27, 2026
5 checks passed
@tsvikas
tsvikas deleted the prek-0.5 branch September 27, 2026 17:42
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