Skip to content

Commit

Permalink
Merge pull request #29 from scop/renovate/mvdan-sh-3.x
Browse files Browse the repository at this point in the history
chore(deps): update mvdan/sh to v3.9.0
  • Loading branch information
scop authored Aug 20, 2024
2 parents 66dc3ee + c2ae719 commit 09cbf7c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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:cb4ca87cc18e52f184a7ba1ae1ef7350b79a2c216ace78a0d24b473e87f0b8f5
args: [-w, -s]
types: [shell]
exclude_types: [csh, tcsh, zsh]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
34 changes: 17 additions & 17 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit 09cbf7c

Please sign in to comment.