From 51929ac0808e7551ea4165dedad9687590de6028 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Fri, 16 Jan 2026 13:58:24 +0800 Subject: 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. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.pre-commit-config.yaml') 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"] -- cgit v1.2.3-70-g09d2