Skip to content

Switch to prek.toml - #3162

Merged
adamtheturtle merged 2 commits into
mainfrom
switch-to-prek-toml
Aug 23, 2026
Merged

Switch to prek.toml#3162
adamtheturtle merged 2 commits into
mainfrom
switch-to-prek-toml

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Aug 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Convert .pre-commit-config.yaml to prek.toml via prek util yaml-to-toml
  • Remove the YAML config and update related ignore/CI references
  • Validate with prek validate-config

See https://prek.j178.dev/configuration/#validation

Test plan

  • CI lint / prek hooks pass
  • prek validate-config prek.toml succeeds locally

Note

Low Risk
Tooling-only config format change; hook set and stages look equivalent, with no application or security logic.

Overview
Migrates git hook configuration from .pre-commit-config.yaml to prek.toml (prek’s TOML format). The same repos, hook IDs, stages, and uv run --extra=dev entries are preserved.

The YAML uv==0.11.7 alias is inlined on each local hook. Vale’s long YAML comments are not carried over. check-manifest now ignores prek.toml instead of .pre-commit-config.yaml.

Reviewed by Cursor Bugbot for commit 8bff529. Bugbot is set up for automated code reviews on this repo. Configure here.

Use prek's native TOML format so the project config matches prek's
recommended configuration file.
@autofix-ci
autofix-ci Bot deployed to development August 23, 2026 15:42 Active
@adamtheturtle
adamtheturtle merged commit f5581c2 into main Aug 23, 2026
13 checks passed
@adamtheturtle
adamtheturtle deleted the switch-to-prek-toml branch August 23, 2026 15:47
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