diff options
| author | 2026-01-16 20:43:21 +0800 | |
|---|---|---|
| committer | 2026-01-16 20:43:21 +0800 | |
| commit | 1ef7d139862de4ee93216fc617f9ee6c4002df5f (patch) | |
| tree | 4381eb8475c4acb8846b7c3aeb0cd9d769cc5620 | |
| parent | 122beeee28a8e07caaa88634d3f09cfc53f55a61 (diff) | |
| download | DropOut-1ef7d139862de4ee93216fc617f9ee6c4002df5f.tar.gz DropOut-1ef7d139862de4ee93216fc617f9ee6c4002df5f.zip | |
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.
| -rw-r--r-- | .pre-commit-config.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
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 |