From 2955aa38722d214c166fda99fe1a5933f4bc585d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 17 Dec 2022 20:02:03 +0000 Subject: [PATCH 1/2] chore(pre-commit): update shellcheck-py/shellcheck-py to v0.9.0.2 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 66d47378d38..4f9f1dcd675 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: exclude: ^completions/(\.gitignore|Makefile.*)$ - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.8.0.1 + rev: v0.9.0.2 hooks: - id: shellcheck args: [-f, gcc] From 37135e87ceeb6128b5075bb79aa94b1a06fc91fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 18 Dec 2022 10:23:51 +0200 Subject: [PATCH 2/2] chore(shellcheck): ignore false SC2317 positive for `have` --- bash_completion | 1 + 1 file changed, 1 insertion(+) diff --git a/bash_completion b/bash_completion index 8ea066f03e3..5c5736e5a66 100644 --- a/bash_completion +++ b/bash_completion @@ -128,6 +128,7 @@ _comp_deprecate_func _have _comp_have_command # Backwards compatibility for compat completions that use have(). # @deprecated should no longer be used; generally not needed with dynamically # loaded completions, and _comp_have_command is suitable for runtime use. +# shellcheck disable=SC2317 # available at load time only have() { unset -v have