From 1ef7d139862de4ee93216fc617f9ee6c4002df5f Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Fri, 16 Jan 2026 20:43:21 +0800 Subject: chore: update pre-commit configuration to specify language for clippy checks Modified the .pre-commit-config.yaml file to explicitly set the language for clippy checks to 'system', ensuring consistent behavior across different environments. This change enhances the clarity of the configuration. --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a5ed67..1cfe197 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,9 @@ repos: args: ["--check", "--manifest-path", "src-tauri/Cargo.toml", "--"] files: ^src-tauri/.*\.rs$ pass_filenames: false + language: system - id: clippy args: ["--manifest-path", "src-tauri/Cargo.toml", "--", "-D", "warnings"] files: ^src-tauri/.*\.rs$ pass_filenames: false + language: system -- cgit v1.2.3-70-g09d2