aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml7
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$