aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
author苏向夜 <46275354+fu050409@users.noreply.github.com>2026-01-19 11:06:38 +0800
committerGitHub <noreply@github.com>2026-01-19 11:06:38 +0800
commitf5560d7e8abe4a41c5f959cb6eb888f6aef6ca65 (patch)
treef3675bdb552a79ddb4601ccf2f5ddd81eb47c9fb /.pre-commit-config.yaml
parentee767338d6db510ef15d6b8cc11f6fb9a6215a43 (diff)
parentbdff2175a8470accdab030b3931406495c56074d (diff)
downloadDropOut-f5560d7e8abe4a41c5f959cb6eb888f6aef6ca65.tar.gz
DropOut-f5560d7e8abe4a41c5f959cb6eb888f6aef6ca65.zip
Merge branch 'main' into chore/migrate-repository
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$