Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Jesus Checa Hidalgo
d48bf8554e Shell static analysis
Add pre-commit hook for static analysis on shell scripts (shellcheck)
2024-08-05 09:33:39 +02:00

View file

@ -12,3 +12,10 @@ repos:
rev: 1.32.2
hooks:
- id: tmt-lint
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
require_serial: true # Podman has trouble running concurrently
args: ["--exclude=SC1091"] # Ignore "Not following" sourced scripts