forked from TrueCloudLab/frostfs-node
[#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
|
- id: gitlint
|
||||||
stages: [commit-msg]
|
stages: [commit-msg]
|
||||||
|
|
||||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
rev: v0.9.0
|
rev: v0.9.0.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
# args: ["--severity=warning"] # Optionally only show errors and warnings
|
|
||||||
|
|
Loading…
Reference in a new issue