The jumanjihouse shellcheck hook errors without
additional_dependencies being defined. While there is a PR open to
add this fix, it has not yet been merged and released. Until it is,
this workaround will enable using the latest versions of pre-commit
and the jumanjihouse hooks.
Github PR: https://github.com/jumanjihouse/pre-commit-hooks/pull/80
Change-Id: I0ec16952009128e25cccb6833698bf1bd864af2d
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
- id: gitlint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
- rev: 2.1.1
+ rev: 2.1.4
hooks:
- id: shellcheck
+ additional_dependencies: []
- repo: https://github.com/btford/write-good
rev: v1.0.4
[testenv:pre-commit]
basepython = python3
deps =
- pre-commit==2.9.3
+ pre-commit
commands =
pre-commit run --all-files --show-diff-on-failure
pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG