Commit 78855c6
committed
docs: document additional_dependencies for pre-commit plugin hooks
Using a third-party commitizen plugin (e.g. cz-conventional-gitmoji)
with the pre-commit/prek "commitizen" hook fails with "The committer
has not been found in the system" because pre-commit installs each
hook in its own isolated environment, so the plugin package is not
available unless it is listed in additional_dependencies.
Add a tip to the pre-commit tutorial explaining this and showing the
working additional_dependencies configuration.
Closes #11411 parent 6eec06e commit 78855c6
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
53 | 66 | | |
54 | 67 | | |
55 | 68 | | |
| |||
0 commit comments