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

Lines changed: 6 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy