aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-16 20:44:37 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-16 20:44:37 +0800
commitbf934d63edda2129ffbe77a42486a9607b1c4eb0 (patch)
treecdc5806e631bafe40ca227ebd887c9810ea68e62 /.pre-commit-config.yaml
parent1ef7d139862de4ee93216fc617f9ee6c4002df5f (diff)
downloadDropOut-bf934d63edda2129ffbe77a42486a9607b1c4eb0.tar.gz
DropOut-bf934d63edda2129ffbe77a42486a9607b1c4eb0.zip
chore: update pre-commit configuration to include Rust as system language
Modified the .pre-commit-config.yaml file to add 'rust' to the system_language setting, ensuring that pre-commit hooks are properly configured for Rust projects. This change enhances the versatility of the pre-commit setup.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1cfe197..a9a0acb 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,7 +1,8 @@
ci:
autofix_prs: true
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit hooks [skip ci]"
-
+ system_language: ["rust"]
+
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0