Skip to content

chore: switch from pre-commit to prek#1609

Draft
scop wants to merge 1 commit intomainfrom
chore/prek
Draft

chore: switch from pre-commit to prek#1609
scop wants to merge 1 commit intomainfrom
chore/prek

Conversation

@scop
Copy link
Copy Markdown
Owner

@scop scop commented Apr 2, 2026

This is an interim change as we may end up revamping pre-commit checks further, but in the meantime, might just as well reap benefits of prek over pre-commit.

To migrate existing pre-commit enabled setups:
prek install --overwrite --hook-type pre-commit --hook-type commit-msg

This is an interim change as we may end up revamping pre-commit checks
further, but in the meantime, might just as well reap benefits of prek
over pre-commit.

To migrate existing pre-commit enabled setups:
  prek install --overwrite --hook-type pre-commit --hook-type commit-msg
@scop scop marked this pull request as draft April 2, 2026 20:34
@scop
Copy link
Copy Markdown
Owner Author

scop commented Apr 2, 2026

Hm prek does not implement perl checks yet, so drafting.

Deferring to docker based checks is an option (maybe better to require docker than perl these days 🤔). But even that is not quite there yet.

For perltidy a docker image was recently added: https://github.com/perltidy/perltidy/pkgs/container/perltidy

For perlcritic, it's (still) in progress: Perl-Critic/Perl-Critic#999

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