Skip to content

Commit

Permalink
Merge pull request #33 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.10.0
  • Loading branch information
scop authored Oct 21, 2024
2 parents 0996aac + f007dc6 commit 58e7bbd
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.9.0]
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.10.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.9.0@sha256:cb4ca87cc18e52f184a7ba1ae1ef7350b79a2c216ace78a0d24b473e87f0b8f5
entry: --net none mvdan/shfmt:v3.10.0@sha256:d19cc37644449fe9a488f234d2c0cf0b770eaf6a5a40e30103e8099013ef8f9e
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.9.0-1
rev: v3.10.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.9.0-1
version = 3.10.0
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.9.0/shfmt_v3.9.0_darwin_amd64
sha256 = 3e1ac72e91ba88ce483766e57a1aa41fa502a0f9d5a47f5f5cd3663badcecee4
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_darwin_amd64
sha256 = ef8d970b3f695a7e8e7d40730eedd2d935ab9599f78a365f319c515bc59d4c83
[shfmt]
group = shfmt-binary
marker = sys_platform == "darwin" and platform_machine == "arm64"
url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_darwin_arm64
sha256 = 7d89694369a516b2d5a68b31f8be2da04c91f50fb7cdd8e41003081b814ba3e8
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_darwin_arm64
sha256 = 86030533a823c0a7cd92dee0f74094e5b901c3277b43def6337d5e19e56fe553
[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.9.0/shfmt_v3.9.0_linux_386
sha256 = cfc2001f820d67224d78fdad3f26e35f4ebd2e7c2f9509522cb55c9b9eb896b3
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_386
sha256 = a49ee3616afd262796e6791711ba62759d424cc85808390a5ac516af8001aa72
[shfmt]
group = shfmt-binary
marker = sys_platform == "linux" and platform_machine == "x86_64"
url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_linux_amd64
sha256 = d99b06506aee2ac9113daec3049922e70dc8cffb84658e3ae512c6a6cbe101b6
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_amd64
sha256 = 1f57a384d59542f8fac5f503da1f3ea44242f46dff969569e80b524d64b71dbc
[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.9.0/shfmt_v3.9.0_linux_arm
sha256 = 8415577278cb535fbb348ab4db02123ad885d3539519a40f84ba4092ced52993
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_arm
sha256 = 493c612d8f07ad60b3030bd84d7870cca2dc87e0fb06d2fdd93b2264460668db
[shfmt]
group = shfmt-binary
marker = sys_platform == "linux" and platform_machine == "aarch64"
url = https://github.com/mvdan/sh/releases/download/v3.9.0/shfmt_v3.9.0_linux_arm64
sha256 = 5e511463068f3d27ae1b087fb597fb9e8ad865be2ac501964a222a834fc1c463
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_arm64
sha256 = 9d23013d56640e228732fd2a04a9ede0ab46bc2d764bf22a4a35fb1b14d707a8
[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.9.0/shfmt_v3.9.0_windows_386.exe
sha256 = 61ad0af789b3ed158f5d593d7ee3301318b7cba2d84c265d8c30af0837315f28
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_windows_386.exe
sha256 = 695d43b600103d8e8beb7460764f43da1d679576e67130012507a38238ef7dbd
[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.9.0/shfmt_v3.9.0_windows_amd64.exe
sha256 = 4ea136134248ac8ebbf9103370ddcd951b515a9e9bfba903252f12fd067bb5e9
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_windows_amd64.exe
sha256 = 6e4c6acd38de7b4b1ba8f8082b9e688df8c9b861d3f8b2e7bb1b7270201a3587

0 comments on commit 58e7bbd

Please sign in to comment.