diff options
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e37cac..7fd9d5e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,11 +29,12 @@ repos: rev: v1.2.1 hooks: - id: fmt - args: [ --manifest-path src-tauri/Cargo.toml ] + args: [ --manifest-path, src-tauri/Cargo.toml, -- ] files: ^src-tauri/.*\.rs$ + pass_filenames: false - id: cargo-check - args: [ --manifest-path src-tauri/Cargo.toml ] + args: [ --manifest-path, src-tauri/Cargo.toml ] files: ^src-tauri/.*\.rs$ - id: clippy - args: [ --manifest-path src-tauri/Cargo.toml ] + args: [ --manifest-path, src-tauri/Cargo.toml ] files: ^src-tauri/.*\.rs$ |