From 4a4ab9683166c28c2162f4580dbdd85b6c6b1861 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 17 Aug 2024 01:38:20 +0000 Subject: [PATCH 1/2] chore(deps): update mvdan/sh to v3.9.0 --- .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 9d6227d..dec7e88 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -13,7 +13,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.8.0] + additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.9.0] entry: shfmt args: [-w, -s] types: [shell] @@ -25,7 +25,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.8.0@sha256:7443e0094a8af5f764f0e8619a64c3b6169d716da68c175fb08ba28a99235c8a + entry: --net none mvdan/shfmt:v3.9.0@sha256:7443e0094a8af5f764f0e8619a64c3b6169d716da68c175fb08ba28a99235c8a args: [-w, -s] types: [shell] exclude_types: [csh, tcsh, zsh] diff --git a/README.md b/README.md index d993c69..150b26c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Usage in `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.8.0-1 + rev: v3.9.0-1 hooks: # Choose one of: - id: shfmt # prebuilt upstream executable From c2ae7193265030f5c3031750212dc4a93487268d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 20 Aug 2024 07:46:41 +0300 Subject: [PATCH 2/2] chore: update digests and URLs for 3.9.0 --- .pre-commit-hooks.yaml | 2 +- setup.cfg | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index dec7e88..8bb34bc 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -25,7 +25,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.9.0@sha256:7443e0094a8af5f764f0e8619a64c3b6169d716da68c175fb08ba28a99235c8a + entry: --net none mvdan/shfmt:v3.9.0@sha256:cb4ca87cc18e52f184a7ba1ae1ef7350b79a2c216ace78a0d24b473e87f0b8f5 args: [-w, -s] types: [shell] exclude_types: [csh, tcsh, zsh] diff --git a/setup.cfg b/setup.cfg index e0eb17b..4da59d9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = shfmt_py -version = 3.8.0-1 +version = 3.9.0-1 description = Shell source code formatter url = https://github.com/scop/pre-commit-shfmt # license here is for shfmt proper; Python packaging related files may have others, see their contents and classifiers below @@ -28,47 +28,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.8.0/shfmt_v3.8.0_darwin_amd64 - sha256 = c0218b47a0301bb006f49fad85d2c08de23df303472834faf5639d04121320f8 + url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_darwin_amd64 + sha256 = 3e1ac72e91ba88ce483766e57a1aa41fa502a0f9d5a47f5f5cd3663badcecee4 [shfmt] group = shfmt-binary marker = sys_platform == "darwin" and platform_machine == "arm64" - url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_darwin_arm64 - sha256 = 1481240d2a90d4f0b530688d76d4f9117d17a756b6027cfa42b96f0707317f83 + url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_darwin_arm64 + sha256 = 7d89694369a516b2d5a68b31f8be2da04c91f50fb7cdd8e41003081b814ba3e8 [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.8.0/shfmt_v3.8.0_linux_386 - sha256 = e281dee51898a2ae3b05569e97a27e8d34c4f1ae000aa1dd829f9c9eb26b6c50 + url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_linux_386 + sha256 = cfc2001f820d67224d78fdad3f26e35f4ebd2e7c2f9509522cb55c9b9eb896b3 [shfmt] group = shfmt-binary marker = sys_platform == "linux" and platform_machine == "x86_64" - url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_linux_amd64 - sha256 = 27b3c6f9d9592fc5b4856c341d1ff2c88856709b9e76469313642a1d7b558fe0 + url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_linux_amd64 + sha256 = d99b06506aee2ac9113daec3049922e70dc8cffb84658e3ae512c6a6cbe101b6 [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.8.0/shfmt_v3.8.0_linux_arm - sha256 = eb6918775a741eba70d12cd6574a50c4ccaa5c930bbdb118b5428418fedcea3e + url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_linux_arm + sha256 = 8415577278cb535fbb348ab4db02123ad885d3539519a40f84ba4092ced52993 [shfmt] group = shfmt-binary marker = sys_platform == "linux" and platform_machine == "aarch64" - url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_linux_arm64 - sha256 = 27e1f69b0d57c584bcbf5c882b4c4f78ffcf945d0efef45c1fbfc6692213c7c3 + url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_linux_arm64 + sha256 = 5e511463068f3d27ae1b087fb597fb9e8ad865be2ac501964a222a834fc1c463 [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.8.0/shfmt_v3.8.0_windows_386.exe - sha256 = 7bca75d21d99a256b79db258c8e6411a99b6f6a990c937663621650cec95ede2 + url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_windows_386.exe + sha256 = 61ad0af789b3ed158f5d593d7ee3301318b7cba2d84c265d8c30af0837315f28 [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.8.0/shfmt_v3.8.0_windows_amd64.exe - sha256 = 91230a6d2d4dbb52e9c0bb134acba526f7880bfd3dfd1ffdde66e9f393d7a646 + url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_windows_amd64.exe + sha256 = 4ea136134248ac8ebbf9103370ddcd951b515a9e9bfba903252f12fd067bb5e9