aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-16 14:00:34 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-16 14:18:20 +0800
commite76f9268537940aad526fd8795f2b23f13e39b12 (patch)
tree59747bbfea0778c4fa19f643fde346d4f32b4947 /.pre-commit-config.yaml
parente714e6f5739ba4e654a5572bdeaf8bf445aaecb7 (diff)
downloadDropOut-e76f9268537940aad526fd8795f2b23f13e39b12.tar.gz
DropOut-e76f9268537940aad526fd8795f2b23f13e39b12.zip
chore: update pre-commit configuration to include additional argument for Rust hooks
Modified the .pre-commit-config.yaml to add an extra argument to the formatting and clippy hooks, ensuring proper handling of additional parameters during execution. This change enhances the flexibility of the linting and formatting processes for Rust code.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f553eae..2862e75 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,6 +21,6 @@ repos:
rev: v1.0
hooks:
- id: fmt
- args: ["--manifest-path", "src-tauri/Cargo.toml"]
+ args: ["--manifest-path", "src-tauri/Cargo.toml", "--"]
- id: clippy
- args: ["--manifest-path", "src-tauri/Cargo.toml"]
+ args: ["--manifest-path", "src-tauri/Cargo.toml", "--"]