Skip to content

Use prek#776

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

Use prek#776
joostlek merged 1 commit into
mainfrom
prek

Conversation

@joostlek
Copy link
Copy Markdown
Owner

@joostlek joostlek commented Jun 2, 2026

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
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

@joostlek joostlek merged commit 643b700 into main Jun 2, 2026
13 checks passed
@joostlek joostlek deleted the prek branch June 2, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Work that improves the continue integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant