diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 9ddb1e1..f58a7b9 100644 --- a/.pre-commit-hooks.yaml +++ b/.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.