Skip to content

Commit e22cc88

Browse files
shyuepclaude
andcommitted
Add default_install_hook_types so commit-msg hooks install
Declares pre-commit and commit-msg install hook types so a plain `pre-commit install` wires up both. Without this, the codespell hook (staged at commit-msg) would silently never run. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d6950ba commit e22cc88

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
exclude: ^(docs|tests/files|tasks.py)
22

3+
default_install_hook_types: [pre-commit, commit-msg]
4+
35
ci:
46
autoupdate_schedule: monthly
57
skip: [mypy, pyright]

0 commit comments

Comments
 (0)