From d7d264e733e5e627eabc0b2d96ba025994f1033e Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Wed, 17 Feb 2021 10:21:12 +1000 Subject: [PATCH] Add workaround to for shellcheck failure The shellcheck hook breaks with the latest version of pre-commit (2.1.1) [ERROR] The hook `shellcheck` specifies `additional_dependencies` but is using language `script` which does not install an environment. Ref: https://github.com/jumanjihouse/pre-commit-hooks/pull/81 Change-Id: I19d8b26a7589d0bde7f1d3c6f768b738289ab937 Signed-off-by: Anil Belur --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a7e079..489c2b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,7 @@ repos: - id: gitlint - repo: https://github.com/jumanjihouse/pre-commit-hooks - rev: 2.1.1 + rev: 2.1.4 hooks: - id: shellcheck + additional_dependencies: [] -- 2.16.6