Skip to content

Recommend prek over pre-commit - #517

Merged
grst merged 3 commits into
mainfrom
recommend-prek
Jun 22, 2026
Merged

Recommend prek over pre-commit#517
grst merged 3 commits into
mainfrom
recommend-prek

Conversation

@grst

@grst grst commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Close #505

Addresses #505. prek is a fast, drop-in replacement for pre-commit that
reads the same .pre-commit-config.yaml.

- Docs (README, contributing, template_usage): recommend installing and
  running prek locally; keep pre-commit.ci as the hosted CI service and
  the pre-commit framework links.
- Dev dependencies: use prek instead of pre-commit (generated project and
  scripts).
- Template-internal CI: run prek in test.yml and propagate-pre-commit.yml,
  and use `uvx --with prek` for cruft create in deploy-instance-repo.yml.
- Regenerate the post-gen rich output to show `hatch run prek run`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

A PR has been generated to the instance repo: scverse/cookiecutter-scverse-instance#289

Checks Status Documentation Preview

You can check out the PR to preview your changes in an instance of the cookiecutter template.
It will be kept in sync with this PR automatically.

@grst
grst marked this pull request as ready for review June 22, 2026 06:23
@grst
grst requested a review from flying-sheep June 22, 2026 06:29
Comment thread scripts/src/scverse_template_scripts/make_rich_output.py Outdated
This was referenced Jul 17, 2026
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.

recommend prek over pre-commit?

2 participants