Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,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.13.0]
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.13.1]
entry: shfmt
args: [--write]
types: [shell]
Expand All @@ -27,7 +27,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.13.0@sha256:cb551dbf13a0e9a017e9c89647bcd4da3b1bd71eb16c6dc7588d2593a9b4611a
entry: --net none mvdan/shfmt:v3.13.1@sha256:f22f3936140be1ba02d493b5d2b91d0e8b4af93fd903e7f46c477822bca4a3be
args: [--write]
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 @@ -13,7 +13,7 @@ Usage in `.pre-commit-config.yaml`:

```yaml
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.13.0-1
rev: v3.13.1-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.13.0-1
version = 3.13.1-1
description = Shell source code formatter
url = https://github.com/scop/pre-commit-shfmt
# shfmt proper and Python packaging related files
Expand All @@ -25,47 +25,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.13.0/shfmt_v3.13.0_darwin_amd64
sha256 = b6890a0009abf71d36d7c536ad56e3132c547ceb77cd5d5ee62b3469ab4e9417
url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_darwin_amd64
sha256 = 6feedafc72915794163114f512348e2437d080d0047ef8b8fa2ec63b575f12af
[shfmt]
group = shfmt-binary
marker = sys_platform == "darwin" and platform_machine == "arm64"
url = https://github.com/mvdan/sh/releases/download/v3.13.0/shfmt_v3.13.0_darwin_arm64
sha256 = 650970603b5946dc6041836ddcfa7a19d99b5da885e4687f64575508e99cf718
url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_darwin_arm64
sha256 = 9680526be4a66ea1ffe988ed08af58e1400fe1e4f4aef5bd88b20bb9b3da33f8
[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.13.0/shfmt_v3.13.0_linux_386
sha256 = e645b59e34928442853fb5610dc485985f8acbe112a129679cede1dc320e54ff
url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_386
sha256 = 5f9a2c46249dab66d7767df676083ea6a3313831ca9f4bc29e4c21af87bd4f5e
[shfmt]
group = shfmt-binary
marker = sys_platform == "linux" and platform_machine == "x86_64"
url = https://github.com/mvdan/sh/releases/download/v3.13.0/shfmt_v3.13.0_linux_amd64
sha256 = 70aa99784703a8d6569bbf0b1e43e1a91906a4166bf1a79de42050a6d0de7551
url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_amd64
sha256 = fb096c5d1ac6beabbdbaa2874d025badb03ee07929f0c9ff67563ce8c75398b1
[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.13.0/shfmt_v3.13.0_linux_arm
sha256 = 774b9a86cff4844179328cfbab2f602e75dcb68132e918e5271d015b3295c9c7
url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_arm
sha256 = f6c23b95971bcc5ebf86411bccefb79f1e99f8efe7c722d980a3f244838b1398
[shfmt]
group = shfmt-binary
marker = sys_platform == "linux" and platform_machine == "aarch64"
url = https://github.com/mvdan/sh/releases/download/v3.13.0/shfmt_v3.13.0_linux_arm64
sha256 = 2091a31afd47742051a77bf7cfd175533ab07e924c20ef3151cd108fa1cab5b0
url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_arm64
sha256 = 32d92acaa5cd8abb29fc49dac123dc412442d5713967819d8af2c29f1b3857c7
[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.13.0/shfmt_v3.13.0_windows_386.exe
sha256 = f3e32b2a320a3053837add32803d7fb3b730d3f10b84a867d327a549ef068fa0
url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_windows_386.exe
sha256 = 9b4f368b837feb883a3b2bf38a46a94dcab4bca4b7c3e19f6710e0e09a56ce7c
[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.13.0/shfmt_v3.13.0_windows_amd64.exe
sha256 = 62241aaf6b0ca236f8625d8892784b73fa67ad40bc677a1ad1a64ae395f6a7d5
url = https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_windows_amd64.exe
sha256 = 60cd368533d0ad73fa86d93d5bbf95ef40587245ce684ed138c1b31557b5fe97
Loading