Skip to content

Commit 0721948

Browse files
Merge pull request #2336 from VWS-Python/shellcheck-pre-commit
Add shellcheck pre-commit hook
2 parents 2193e19 + 834e962 commit 0721948

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ repos:
4444
- id: file-contents-sorter
4545
files: spelling_private_dict\.txt$
4646
- id: trailing-whitespace
47+
- repo: https://github.com/shellcheck-py/shellcheck-py
48+
rev: v0.10.0.1
49+
hooks:
50+
- id: shellcheck
51+
args: ["--shell", "bash"]
4752
- repo: local
4853
hooks:
4954
- id: actionlint

0 commit comments

Comments
 (0)