Skip to content

Commit 77fcfde

Browse files
Allow passing arguments to fmt, do not pass filenames
1 parent e06d845 commit 77fcfde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-hooks.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
- id: fmt
22
name: fmt
33
description: Format files with cargo fmt.
4-
entry: cargo fmt --
4+
entry: cargo fmt
55
language: system
66
types: [rust]
7-
args: []
7+
pass_filenames: false
88
- id: cargo-check
99
name: cargo check
1010
description: Check the package for errors.

0 commit comments

Comments
 (0)