From: Anil Belur Date: Wed, 17 Feb 2021 00:21:12 +0000 (+1000) Subject: Add workaround to for shellcheck failure X-Git-Tag: v0.7.5~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=d7d264e733e5e627eabc0b2d96ba025994f1033e;p=releng%2Fcommon-packer.git 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 --- 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: []