Skip to content

Commit

Permalink
Allow passing arguments to fmt, do not pass filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielChabrowski committed Jun 19, 2020
1 parent e06d845 commit 77fcfde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-hooks.yaml
@@ -1,10 +1,10 @@
- id: fmt
name: fmt
description: Format files with cargo fmt.
entry: cargo fmt --
entry: cargo fmt
language: system
types: [rust]
args: []
pass_filenames: false
- id: cargo-check
name: cargo check
description: Check the package for errors.
Expand Down

0 comments on commit 77fcfde

Please sign in to comment.