diff options
| author | 2026-01-16 16:00:14 +0800 | |
|---|---|---|
| committer | 2026-01-16 16:00:14 +0800 | |
| commit | ab7bd0336a03fb1db4403472d85fe2a229b1b333 (patch) | |
| tree | 8aff8be79d820291c513ad4ce688193d0ad62858 | |
| parent | d5a00cca455c6274deeb6bfdd62a6493b41699cb (diff) | |
| download | DropOut-ab7bd0336a03fb1db4403472d85fe2a229b1b333.tar.gz DropOut-ab7bd0336a03fb1db4403472d85fe2a229b1b333.zip | |
chore: update pre-commit configuration to skip formatting and clippy checks
Modified the .pre-commit-config.yaml to skip the formatting and clippy checks during the CI process, optimizing the pre-commit workflow. Added Rust as the language for the pre-commit hook to ensure compatibility.
| -rw-r--r-- | .pre-commit-config.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9d50cd..75ea03b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,6 @@ minimum_prek_version: '0.2.28' + ci: autofix_prs: true autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit hooks [skip ci]" @@ -21,6 +22,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.1.6 + language: python hooks: - id: ruff args: [ --fix ] @@ -28,6 +30,7 @@ repos: - repo: https://github.com/doublify/pre-commit-rust rev: v1.0 + language: rust hooks: - id: fmt args: ["--check", "--manifest-path", "src-tauri/Cargo.toml", "--"] |