mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 03:44:41 +00:00
Merge pull request #727 from rjeffman/shellcheck_no_docker
pre-commit: Use system shellcheck.
This commit is contained in:
@@ -38,8 +38,10 @@ repos:
|
|||||||
entry: utils/ansible-doc-test
|
entry: utils/ansible-doc-test
|
||||||
# args: ['-v', 'roles', 'plugins']
|
# args: ['-v', 'roles', 'plugins']
|
||||||
files: ^.*.py$
|
files: ^.*.py$
|
||||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
- repo: local
|
||||||
rev: v0.8.0
|
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
args: ["--severity=warning"] # Only show errors and warnings
|
name: ShellCheck
|
||||||
|
language: system
|
||||||
|
entry: shellcheck
|
||||||
|
files: \.sh$
|
||||||
|
|||||||
Reference in New Issue
Block a user