From f5c43f3f7de142b58ecab14df3e5855a04235ddb Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Mon, 20 Oct 2025 22:35:29 +0300 Subject: [PATCH 1/5] chore: Update imperatives.py --- commit_check/imperatives.py | 1 + 1 file changed, 1 insertion(+) diff --git a/commit_check/imperatives.py b/commit_check/imperatives.py index 1a1684f5..3984c9d2 100644 --- a/commit_check/imperatives.py +++ b/commit_check/imperatives.py @@ -22,6 +22,7 @@ "authorize", "break", "build", + "bump" "cache", "calculate", "call", From 51884ab8d31dcc150fae1af90ebd89ceceeb3033 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Mon, 20 Oct 2025 22:59:54 +0300 Subject: [PATCH 2/5] chore: Update commit_check/imperatives.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- commit_check/imperatives.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit_check/imperatives.py b/commit_check/imperatives.py index 3984c9d2..4942149f 100644 --- a/commit_check/imperatives.py +++ b/commit_check/imperatives.py @@ -22,7 +22,7 @@ "authorize", "break", "build", - "bump" + "bump", "cache", "calculate", "call", From ca1bebbb8e856d4383465a411c605cbfc28aadf7 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 20 Oct 2025 23:04:44 +0300 Subject: [PATCH 3/5] chore: update .pre-commit-config.yaml --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fd734573..6f0743a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: trailing-whitespace - id: name-tests-test - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.13.3 + rev: v0.14.1 hooks: - id: ruff-check args: [ --fix ] @@ -31,7 +31,7 @@ repos: hooks: - id: codespell - repo: https://github.com/commit-check/commit-check - rev: v0.10.2 + rev: v2.0.0 hooks: - id: check-message - id: check-branch # uncomment if you need. From 047a0a6144686b11748d0c333c7f9df0e6b463ae Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 20 Oct 2025 23:12:31 +0300 Subject: [PATCH 4/5] fix: update .pre-commit-config.yaml --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6f0743a8..46d7da4b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,6 +34,7 @@ repos: rev: v2.0.0 hooks: - id: check-message + stages: [commit-msg] - id: check-branch # uncomment if you need. - id: check-author-name # uncomment if you need. - id: check-author-email # uncomment if you need. From c467b9f5b5b17ef696b87fdbbfe0fd7fad201259 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 20 Oct 2025 23:19:24 +0300 Subject: [PATCH 5/5] fix: update .pre-commit-hooks.yaml --- .pre-commit-hooks.yaml | 1 + docs/example.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 171fd8aa..15456a62 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,6 +3,7 @@ description: ensures commit message to match regex entry: commit-check args: [--message] + stages: [commit-msg] pass_filenames: true language: python - id: check-branch diff --git a/docs/example.rst b/docs/example.rst index e7301f13..a064199e 100644 --- a/docs/example.rst +++ b/docs/example.rst @@ -31,6 +31,7 @@ Running as pre-commit hook rev: the tag or revision hooks: - id: check-message + stages: [commit-msg] - id: check-branch - id: check-author-name - id: check-author-email