aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-16 13:58:24 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-16 14:18:19 +0800
commit51929ac0808e7551ea4165dedad9687590de6028 (patch)
tree328eaef3d2ee5e8bcef7c1562b78de4f02f5bfbe /.pre-commit-config.yaml
parent937df840425f669719247d2f8b7b455933a43118 (diff)
downloadDropOut-51929ac0808e7551ea4165dedad9687590de6028.tar.gz
DropOut-51929ac0808e7551ea4165dedad9687590de6028.zip
chore: update clippy arguments in pre-commit configuration
Modified the .pre-commit-config.yaml to change the arguments for the clippy hook, allowing it to automatically fix issues and permit changes in dirty working directories. This enhances the linting process for Rust code in the project.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d149a19..cf13202 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -23,4 +23,4 @@ repos:
- id: fmt
args: ["--manifest-path", "src-tauri/Cargo.toml"]
- id: clippy
- args: ["--manifest-path", "src-tauri/Cargo.toml", "--", "-D", "warnings"]
+ args: ["--manifest-path", "src-tauri/Cargo.toml", "--fix", "--allow-dirty"]