Skip to content

Commit 8c4df3c

Browse files
committed
Add pre-commit hook to run shellcheck
This also reorders the hooks from pre-commit/pre-commit-hooks so that the overall order of all hooks from all repositories is: lint Python, lint non-Python, non-lint.
1 parent 91f63cd commit 8c4df3c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.pre-commit-config.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ repos:
99
- flake8-typing-imports==1.14.0
1010
exclude: ^doc|^git/ext/
1111

12+
- repo: https://github.com/shellcheck-py/shellcheck-py
13+
rev: v0.9.0.5
14+
hooks:
15+
- id: shellcheck
16+
1217
- repo: https://github.com/pre-commit/pre-commit-hooks
1318
rev: v4.4.0
1419
hooks:
15-
- id: check-merge-conflict
1620
- id: check-toml
1721
- id: check-yaml
22+
- id: check-merge-conflict

0 commit comments

Comments
 (0)