From b1c165a93bd3b27657ccc10dbaa90de5b9b015ae Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Wed, 15 Mar 2023 14:35:50 +0300 Subject: [PATCH] [#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 --- .pre-commit-config.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a58352f88..88fde1b6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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