[#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:
Stanislav Bogatyrev 2023-03-15 14:35:50 +03:00 committed by Gitea
parent ac0a278a05
commit b1c165a93b

View file

@ -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