Skip to content

chore: migrate from pre-commit to prek - #178

Merged
Apakottur merged 3 commits into
mainfrom
chore/migrate-to-prek
Jul 20, 2026
Merged

chore: migrate from pre-commit to prek#178
Apakottur merged 3 commits into
mainfrom
chore/migrate-to-prek

Conversation

@Apakottur

@Apakottur Apakottur commented Jul 20, 2026

Copy link
Copy Markdown
Owner

What

Migrate the linter runner from pre-commit to prek, a faster drop-in reimplementation, and adopt its native prek.toml config format.

Notes

  • pre-commit==4.6.0 swapped for prek==0.4.10 in the dev dependency group.
  • .pre-commit-config.yaml converted to native prek.toml (via prek util yaml-to-toml); prek auto-discovers it.
  • CI: cache path ~/.cache/pre-commit~/.cache/prek; step now runs prek run. Cache key hashes prek.toml.
  • CONTRIBUTING.md updated to prek run -a.
  • Added prek to the cspell wordlist.
  • Install the local git hook with prek install (replaces the pre-commit one).

Apakottur and others added 3 commits July 20, 2026 16:12
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012etUz1Cow89JHG1bxJEWHN
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012etUz1Cow89JHG1bxJEWHN
@Apakottur
Apakottur merged commit 58a49a7 into main Jul 20, 2026
16 checks passed
@Apakottur
Apakottur deleted the chore/migrate-to-prek branch July 20, 2026 16: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