Skip to content

Commit 4a63dbe

Browse files
committed
Switch pre-commit hooks for running shfmt
This hook bundles the binaries for shfmt with a Python package which removes the need to manually install the tool for the hook to function.
1 parent c0eed09 commit 4a63dbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ repos:
8686
- id: nixpkgs-fmt
8787

8888
# Shell script hooks
89-
- repo: https://github.com/cisagov/pre-commit-shfmt
90-
rev: v0.0.2
89+
- repo: https://github.com/scop/pre-commit-shfmt
90+
rev: v3.7.0-4
9191
hooks:
9292
- id: shfmt
9393
args:

0 commit comments

Comments
 (0)