[#83] Fix shellcheck pre-commit action
Original shellcheck action requires Docker to run and it's not always available, especially inside Docker containers. Replacing it with python wrapper to simplify usage with Docker-based CI systems like Drone and WoodpeckerCI. Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
This commit is contained in:
parent
ac0a278a05
commit
b1c165a93b
1 changed files with 3 additions and 4 deletions
|
@ -29,8 +29,7 @@ repos:
|
|||
- id: gitlint
|
||||
stages: [commit-msg]
|
||||
|
||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
||||
rev: v0.9.0
|
||||
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||
rev: v0.9.0.2
|
||||
hooks:
|
||||
- id: shellcheck
|
||||
# args: ["--severity=warning"] # Optionally only show errors and warnings
|
||||
- id: shellcheck
|
||||
|
|
Loading…
Reference in a new issue