From 19f8de65e4ffc68557f745b773e98bdcb4e591fc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 6 Sep 2026 16:31:11 +0000 Subject: [PATCH 1/2] chore(deps): update mvdan/sh to v3.14.1 --- .pre-commit-hooks.yaml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1023c28..0fe6c02 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -14,7 +14,7 @@ description: Shell source code formatter (build from source) language: golang # Note: keep Go version in `go.mod` in sync with shfmt's required Go version - additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.13.1] + additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.14.1] entry: shfmt args: [--write] types: [shell] @@ -27,7 +27,7 @@ description: Shell source code formatter (Docker image) language: docker_image # Note: use the top level multiplatform image digest here - entry: --net none mvdan/shfmt:v3.13.1@sha256:f22f3936140be1ba02d493b5d2b91d0e8b4af93fd903e7f46c477822bca4a3be + entry: --net none mvdan/shfmt:v3.14.1@sha256:f22f3936140be1ba02d493b5d2b91d0e8b4af93fd903e7f46c477822bca4a3be args: [--write] types: [shell] exclude_types: [csh, tcsh] diff --git a/README.md b/README.md index c4f3541..b46dadc 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Usage in `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.13.1-1 + rev: v3.14.1-1 hooks: # Choose one of: - id: shfmt # prebuilt upstream executable From 742a8c67cca62510f946e5720d04d81a89526a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 13 Sep 2026 22:02:35 +0300 Subject: [PATCH 2/2] chore: update rest of metadata for 3.14.1 --- .pre-commit-hooks.yaml | 2 +- go.mod | 2 +- setup.cfg | 34 +++++++++++++++++----------------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 0fe6c02..e11f9e0 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -27,7 +27,7 @@ description: Shell source code formatter (Docker image) language: docker_image # Note: use the top level multiplatform image digest here - entry: --net none mvdan/shfmt:v3.14.1@sha256:f22f3936140be1ba02d493b5d2b91d0e8b4af93fd903e7f46c477822bca4a3be + entry: --net none mvdan/shfmt:v3.14.1@sha256:8c06884a35683d8763fba6c0d9484d11a61a96da65f8d497d6f625825a6043f2 args: [--write] types: [shell] exclude_types: [csh, tcsh] diff --git a/go.mod b/go.mod index f9a1a94..64ca8c5 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/scop/pre-commit-shfmt/v3 -go 1.25.0 +go 1.26.0 diff --git a/setup.cfg b/setup.cfg index 5759267..6dcdeb7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = shfmt_py -version = 3.13.1-1 +version = 3.14.1-1 description = Shell source code formatter url = https://github.com/scop/pre-commit-shfmt # shfmt proper and Python packaging related files @@ -25,47 +25,47 @@ download_scripts = [shfmt] group = shfmt-binary marker = sys_platform == "darwin" and platform_machine == "x86_64" - url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_darwin_amd64 - sha256 = 6feedafc72915794163114f512348e2437d080d0047ef8b8fa2ec63b575f12af + url = https://github.com/mvdan/sh/releases/download/v3.14.1/shfmt_v3.14.1_darwin_amd64 + sha256 = d33eee0da0f92835b3562e9767a05cee7e4eaeef47daa03bfd09da17b4b590a6 [shfmt] group = shfmt-binary marker = sys_platform == "darwin" and platform_machine == "arm64" - url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_darwin_arm64 - sha256 = 9680526be4a66ea1ffe988ed08af58e1400fe1e4f4aef5bd88b20bb9b3da33f8 + url = https://github.com/mvdan/sh/releases/download/v3.14.1/shfmt_v3.14.1_darwin_arm64 + sha256 = b7c872db63553ccffc7253aba3ed7d4885a27d83f1ba567b1138c6315a5847e5 [shfmt] group = shfmt-binary # TODO: verify i386 marker = sys_platform == "linux" and platform_machine == "i386" marker = sys_platform == "linux" and platform_machine == "i686" - url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_386 - sha256 = 5f9a2c46249dab66d7767df676083ea6a3313831ca9f4bc29e4c21af87bd4f5e + url = https://github.com/mvdan/sh/releases/download/v3.14.1/shfmt_v3.14.1_linux_386 + sha256 = aad6f0bd6285910c152091ba58b5509aa88eb8a2a81a2d72cf2048a8a78c27f4 [shfmt] group = shfmt-binary marker = sys_platform == "linux" and platform_machine == "x86_64" - url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_amd64 - sha256 = fb096c5d1ac6beabbdbaa2874d025badb03ee07929f0c9ff67563ce8c75398b1 + url = https://github.com/mvdan/sh/releases/download/v3.14.1/shfmt_v3.14.1_linux_amd64 + sha256 = 76e77641faa025814b77f153b29796b8e6fa2fca03e0c76a691608b86c7ea7bf [shfmt] group = shfmt-binary # TODO: verify armv6hf marker = sys_platform == "linux" and platform_machine == "armv6hf" marker = sys_platform == "linux" and platform_machine == "armv7l" - url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_arm - sha256 = f6c23b95971bcc5ebf86411bccefb79f1e99f8efe7c722d980a3f244838b1398 + url = https://github.com/mvdan/sh/releases/download/v3.14.1/shfmt_v3.14.1_linux_arm + sha256 = ede6c4adefeda196d963906daa7c1f20094e6def7a98bcb9f4c74079babf1eca [shfmt] group = shfmt-binary marker = sys_platform == "linux" and platform_machine == "aarch64" - url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_arm64 - sha256 = 32d92acaa5cd8abb29fc49dac123dc412442d5713967819d8af2c29f1b3857c7 + url = https://github.com/mvdan/sh/releases/download/v3.14.1/shfmt_v3.14.1_linux_arm64 + sha256 = 5f2db09dae91fca848f7adbdd014632e921a383863a2ad7e0450ad3aba0c6489 [shfmt.exe] group = shfmt-binary # TODO: verify both marker = sys_platform == "win32" and platform_machine == "x86" marker = sys_platform == "cygwin" and platform_machine == "i386" - url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_windows_386.exe - sha256 = 9b4f368b837feb883a3b2bf38a46a94dcab4bca4b7c3e19f6710e0e09a56ce7c + url = https://github.com/mvdan/sh/releases/download/v3.14.1/shfmt_v3.14.1_windows_386.exe + sha256 = b6f171113e7359f44d5ffdc93a90b93a7d405aa8847129a6982e10fe4d356f1e [shfmt.exe] group = shfmt-binary marker = sys_platform == "win32" and platform_machine == "AMD64" marker = sys_platform == "cygwin" and platform_machine == "x86_64" - url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_windows_amd64.exe - sha256 = 60cd368533d0ad73fa86d93d5bbf95ef40587245ce684ed138c1b31557b5fe97 + url = https://github.com/mvdan/sh/releases/download/v3.14.1/shfmt_v3.14.1_windows_amd64.exe + sha256 = 13629ce28442ca80b6b5a819f7574ab39e1c28c6e26734ca816c9714e04851df