Skip to content

Commit 5c04180

Browse files
authored
Merge pull request #34 from scop/renovate/mvdan-sh-3.x
chore(deps): update mvdan/sh to v3.11.0
2 parents d2cee4b + 46ca9bf commit 5c04180

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
description: Shell source code formatter (build from source)
1515
language: golang
1616
# Note: keep Go version in `go.mod` in sync with shfmt's required Go version
17-
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.10.0]
17+
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.11.0]
1818
entry: shfmt
1919
args: [-w, -s]
2020
types: [shell]
@@ -27,7 +27,7 @@
2727
description: Shell source code formatter (Docker image)
2828
language: docker_image
2929
# Note: use the top level multiplatform image digest here
30-
entry: --net none mvdan/shfmt:v3.10.0@sha256:d19cc37644449fe9a488f234d2c0cf0b770eaf6a5a40e30103e8099013ef8f9e
30+
entry: --net none mvdan/shfmt:v3.11.0@sha256:9c6f228b50928e4b174d13da1b10adacd7bbb50796527f58a85ea18e155e0806
3131
args: [-w, -s]
3232
types: [shell]
3333
exclude_types: [csh, tcsh, zsh]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Usage in `.pre-commit-config.yaml`:
77

88
```yaml
99
- repo: https://github.com/scop/pre-commit-shfmt
10-
rev: v3.10.0-2
10+
rev: v3.11.0-1
1111
hooks:
1212
# Choose one of:
1313
- id: shfmt # prebuilt upstream executable

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/scop/pre-commit-shfmt/v3
22

3-
go 1.19
3+
go 1.23

setup.cfg

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = shfmt_py
3-
version = 3.10.0
3+
version = 3.11.0-1
44
description = Shell source code formatter
55
url = https://github.com/scop/pre-commit-shfmt
66
# 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 =
2828
[shfmt]
2929
group = shfmt-binary
3030
marker = sys_platform == "darwin" and platform_machine == "x86_64"
31-
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_darwin_amd64
32-
sha256 = ef8d970b3f695a7e8e7d40730eedd2d935ab9599f78a365f319c515bc59d4c83
31+
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_darwin_amd64
32+
sha256 = 810a76cb7c78351e021c8025f344b12149d8426ce51609a179af68109ed5698e
3333
[shfmt]
3434
group = shfmt-binary
3535
marker = sys_platform == "darwin" and platform_machine == "arm64"
36-
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_darwin_arm64
37-
sha256 = 86030533a823c0a7cd92dee0f74094e5b901c3277b43def6337d5e19e56fe553
36+
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_darwin_arm64
37+
sha256 = af206d234dff5d05d9ac355529b2b33a7a78e13fab9b59db777746aab3e72530
3838
[shfmt]
3939
group = shfmt-binary
4040
# TODO: verify i386
4141
marker = sys_platform == "linux" and platform_machine == "i386"
4242
marker = sys_platform == "linux" and platform_machine == "i686"
43-
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_386
44-
sha256 = a49ee3616afd262796e6791711ba62759d424cc85808390a5ac516af8001aa72
43+
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_linux_386
44+
sha256 = 4bd973b2146dbb49a1aff9c16a782b0adeec974728ac063ac793f884f6a951f7
4545
[shfmt]
4646
group = shfmt-binary
4747
marker = sys_platform == "linux" and platform_machine == "x86_64"
48-
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_amd64
49-
sha256 = 1f57a384d59542f8fac5f503da1f3ea44242f46dff969569e80b524d64b71dbc
48+
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_linux_amd64
49+
sha256 = 1904ec6bac715c1d05cd7f6612eec8f67a625c3749cb327e5bfb4127d09035ff
5050
[shfmt]
5151
group = shfmt-binary
5252
# TODO: verify armv6hf
5353
marker = sys_platform == "linux" and platform_machine == "armv6hf"
5454
marker = sys_platform == "linux" and platform_machine == "armv7l"
55-
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_arm
56-
sha256 = 493c612d8f07ad60b3030bd84d7870cca2dc87e0fb06d2fdd93b2264460668db
55+
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_linux_arm
56+
sha256 = 00a243112f22a94594a82cb9399b086cf51441e3d9fef98b1203d633863506ed
5757
[shfmt]
5858
group = shfmt-binary
5959
marker = sys_platform == "linux" and platform_machine == "aarch64"
60-
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_arm64
61-
sha256 = 9d23013d56640e228732fd2a04a9ede0ab46bc2d764bf22a4a35fb1b14d707a8
60+
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_linux_arm64
61+
sha256 = b3976121710fd4b12bf641b0a7fb2686da598fb0da9f148c641b61b54cfa3407
6262
[shfmt.exe]
6363
group = shfmt-binary
6464
# TODO: verify both
6565
marker = sys_platform == "win32" and platform_machine == "x86"
6666
marker = sys_platform == "cygwin" and platform_machine == "i386"
67-
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_windows_386.exe
68-
sha256 = 695d43b600103d8e8beb7460764f43da1d679576e67130012507a38238ef7dbd
67+
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_windows_386.exe
68+
sha256 = facfb70de36cc3b15d59938fd840d6eaa8dc5446767f043265038a49eb719ec7
6969
[shfmt.exe]
7070
group = shfmt-binary
7171
marker = sys_platform == "win32" and platform_machine == "AMD64"
7272
marker = sys_platform == "cygwin" and platform_machine == "x86_64"
73-
url = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_windows_amd64.exe
74-
sha256 = 6e4c6acd38de7b4b1ba8f8082b9e688df8c9b861d3f8b2e7bb1b7270201a3587
73+
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_windows_amd64.exe
74+
sha256 = d11a0880588304496065110cb67ce2375cfcd5433e76dec505ce1fa21adf47cc

0 commit comments

Comments
 (0)