Skip to content

Use prek - #776

Merged
joostlek merged 1 commit into
mainfrom
prek
Jun 2, 2026
Merged

joostlek merged 1 commit into
mainfrom
prek

Conversation

@joostlek

@joostlek joostlek commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Migrate from pre-commit to prek.

  • Move built-in hooks (check-case-conflict, check-executables-have-shebangs, check-json, check-merge-conflict, check-symlinks, check-toml, check-xml, check-yaml, detect-private-key, end-of-file-fixer, no-commit-to-branch, trailing-whitespace) from the local repo into a new builtin repo block in .pre-commit-config.yaml.
  • Replace the pre-commit dev dependency with prek = "0.3.9".
  • Add a dedicated prek-builtin-hooks job in the linting workflow that installs prek via pipx and runs each built-in hook standalone; switch remaining pre-commit run invocations to prek run.
  • Update README pre-commit references to prek.
  • Add [*.yaml] indent_size to .editorconfig.

@joostlek joostlek added the ci Work that improves the continue integration. label Jun 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown

@joostlek
joostlek merged commit 643b700 into main Jun 2, 2026
13 checks passed
@joostlek
joostlek deleted the prek branch June 2, 2026 17:37
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci Work that improves the continue integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant