Add workaround to for shellcheck failure 94/66794/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 17 Feb 2021 00:21:12 +0000 (10:21 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 17 Feb 2021 00:25:31 +0000 (10:25 +1000)
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 <abelur@linuxfoundation.org>
.pre-commit-config.yaml

index 5a7e079..489c2b1 100644 (file)
@@ -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: []