Skip to content

Commit

Permalink
Merge pull request #26 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.8.0
  • Loading branch information
scop authored Feb 12, 2024
2 parents 03afcba + 000369e commit 5a5b224
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.7.0]
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.8.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.7.0@sha256:c029770b8d8091b482cd1b30bd190d1d422bb5787e6ddc7894ef7d9784578690
entry: --net none mvdan/shfmt:v3.8.0@sha256:7443e0094a8af5f764f0e8619a64c3b6169d716da68c175fb08ba28a99235c8a
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.7.0-4
rev: v3.8.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.7.0-4
version = 3.8.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.7.0/shfmt_v3.7.0_darwin_amd64
sha256 = ae1d1ab961c113fb3dc2ff1150f33c3548983550d91da889b3171a5bcfaab14f
url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_darwin_amd64
sha256 = c0218b47a0301bb006f49fad85d2c08de23df303472834faf5639d04121320f8
[shfmt]
group = shfmt-binary
marker = sys_platform == "darwin" and platform_machine == "arm64"
url = https://github.com/mvdan/sh/releases/download/v3.7.0/shfmt_v3.7.0_darwin_arm64
sha256 = ad7ff6f666adba3d801eb17365a15539f07296718d39fb62cc2fde6b527178aa
url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_darwin_arm64
sha256 = 1481240d2a90d4f0b530688d76d4f9117d17a756b6027cfa42b96f0707317f83
[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.7.0/shfmt_v3.7.0_linux_386
sha256 = 9f0b53d765e11c519be1866c5c3e4614f3f4bac4c982c935f879f561c38f17c1
url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_linux_386
sha256 = e281dee51898a2ae3b05569e97a27e8d34c4f1ae000aa1dd829f9c9eb26b6c50
[shfmt]
group = shfmt-binary
marker = sys_platform == "linux" and platform_machine == "x86_64"
url = https://github.com/mvdan/sh/releases/download/v3.7.0/shfmt_v3.7.0_linux_amd64
sha256 = 0264c424278b18e22453fe523ec01a19805ce3b8ebf18eaf3aadc1edc23f42e3
url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_linux_amd64
sha256 = 27b3c6f9d9592fc5b4856c341d1ff2c88856709b9e76469313642a1d7b558fe0
[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.7.0/shfmt_v3.7.0_linux_arm
sha256 = 3d1f5a1aede8161293bc42007af5b983f16d62857736c789f062346ed839f299
url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_linux_arm
sha256 = eb6918775a741eba70d12cd6574a50c4ccaa5c930bbdb118b5428418fedcea3e
[shfmt]
group = shfmt-binary
marker = sys_platform == "linux" and platform_machine == "aarch64"
url = https://github.com/mvdan/sh/releases/download/v3.7.0/shfmt_v3.7.0_linux_arm64
sha256 = 111612560d15bd53d8e8f8f85731176ce12f3b418ec473d39a40ed6bbec772de
url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_linux_arm64
sha256 = 27e1f69b0d57c584bcbf5c882b4c4f78ffcf945d0efef45c1fbfc6692213c7c3
[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.7.0/shfmt_v3.7.0_windows_386.exe
sha256 = 8bd0422554dd6ce5e07d9d17d020d89254b5c056009005df824e39a8cbdcf6aa
url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_windows_386.exe
sha256 = 7bca75d21d99a256b79db258c8e6411a99b6f6a990c937663621650cec95ede2
[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.7.0/shfmt_v3.7.0_windows_amd64.exe
sha256 = 2807b4af91fbbd961b68716de06c044f1b4f897457fc89fba216e5e2e351c64f
url = https://github.com/mvdan/sh/releases/download/v3.8.0/shfmt_v3.8.0_windows_amd64.exe
sha256 = 91230a6d2d4dbb52e9c0bb134acba526f7880bfd3dfd1ffdde66e9f393d7a646

0 comments on commit 5a5b224

Please sign in to comment.