Elektrine lite

← Feed

@stylus@social.afront.org

Post #1861045

2026-05-01 01:41 UTC

Oh! oh! micropython has had pre-commit checking of commit messages, but a regular prek install doesn't enable it! Now I'll make those mistakes much less often

Replies (1)

  • @stylus@social.afront.org 2026-05-01 01:43

    -t, --hook-type [possible values: commit-msg, post-checkout, post-commit, post-merge, post-rewrite, pre-commit, pre-merge-commit, pre-push, pre-rebase, prepare-commit-msg] prek (and pre-commit) support many more hooks than the default pre-commit. I guess prek install --install-hooks will install "all hooks used in the config file". I wonder why that was not made the default!

    Open ##2004676