aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-20 13:44:21 +0800
committerGitHub <noreply@github.com>2026-01-20 13:44:21 +0800
commit7338b8627833018a0e3c05c3c4f3cc7fc182e8d2 (patch)
tree23e39e5603aadc10d6b2d7efad063c68f357a860 /.pre-commit-config.yaml
parentdbf781a35b96252e0199fec4337515651e49a8f6 (diff)
parentcf6cd6ba667b35e352b705946420cf4acab2b004 (diff)
downloadDropOut-7338b8627833018a0e3c05c3c4f3cc7fc182e8d2.tar.gz
DropOut-7338b8627833018a0e3c05c3c4f3cc7fc182e8d2.zip
[Chore] branch: Sync with main (#75)
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7e37cac..1713952 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,14 +1,14 @@
ci:
autofix_prs: true
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit hooks [skip ci]"
- skip: [fmt,cargo-check,clippy]
+ skip: [fmt, cargo-check, clippy]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-json
- exclude: ^ui/tsconfig.*\.json$
+ exclude: ^packages/ui/tsconfig.*\.json$
- id: check-toml
- id: check-yaml
- id: check-case-conflict
@@ -22,18 +22,19 @@ repos:
rev: v0.14.13
hooks:
- id: ruff
- args: [ --fix ]
+ args: [--fix]
- id: ruff-format
- repo: https://github.com/FeryET/pre-commit-rust
rev: v1.2.1
hooks:
- id: fmt
- args: [ --manifest-path src-tauri/Cargo.toml ]
+ args: [--manifest-path, src-tauri/Cargo.toml, --]
files: ^src-tauri/.*\.rs$
+ pass_filenames: false
- id: cargo-check
- args: [ --manifest-path src-tauri/Cargo.toml ]
+ args: [--manifest-path, src-tauri/Cargo.toml]
files: ^src-tauri/.*\.rs$
- id: clippy
- args: [ --manifest-path src-tauri/Cargo.toml ]
+ args: [--manifest-path, src-tauri/Cargo.toml]
files: ^src-tauri/.*\.rs$