From 8ff0dc33dc99660f04d264ea4f56e0796d109443 Mon Sep 17 00:00:00 2001 From: yaojun <940334249@qq.com> Date: Sat, 14 Feb 2026 20:23:44 +0800 Subject: [PATCH] chore: enable the conventional-pre-commit run sucess and update to latest version --- .pre-commit-config.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index abe63c6b..39808c89 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,7 @@ +default_install_hook_types: + - pre-commit + - commit-msg + repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.14.4 @@ -31,14 +35,11 @@ repos: - repo: https://github.com/compilerla/conventional-pre-commit - rev: v3.0.0 + rev: v4.3.0 hooks: - id: conventional-pre-commit - stages: [ commit-msg ] - args: [ - --types, feat,fix,docs,style,refactor,test,chore,perf,ci,build,revert, - --scope-optional - ] + stages: [commit-msg] + args: [--verbose] - repo: local