Skip to content

Commit 035cf86

Browse files
committed
Switch pre-commit hooks for running shellcheck
This hook bundles the binaries for shellcheck with a Python package which removes the need to ensure the tool is installed for the hook to function. It also ties the version of shellcheck used to the hook which will help guarantee consistency.
1 parent 9020b55 commit 035cf86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ repos:
115115
- --case-indent
116116
# Redirect operators are followed by a space
117117
- --space-redirects
118-
- repo: https://github.com/detailyang/pre-commit-shell
119-
rev: 1.0.5
118+
- repo: https://github.com/shellcheck-py/shellcheck-py
119+
rev: v0.9.0.6
120120
hooks:
121-
- id: shell-lint
121+
- id: shellcheck
122122

123123
# Python hooks
124124
- repo: https://github.com/PyCQA/bandit

0 commit comments

Comments
 (0)