From ab7bd0336a03fb1db4403472d85fe2a229b1b333 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Fri, 16 Jan 2026 16:00:14 +0800 Subject: 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. --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.pre-commit-config.yaml') 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", "--"] -- cgit v1.2.3-70-g09d2