Skip to content

Commit c005ce1

Browse files
committed
feat: add check imperative hook
1 parent 5b3151e commit c005ce1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ repos:
4242
- id: check-author-name # uncomment if you need.
4343
- id: check-author-email # uncomment if you need.
4444
# - id: check-commit-signoff # uncomment if you need.
45-
# - id: check-merge-base # requires download all git history
45+
# - id: check-merge-base # requires download all git history
46+
# - id: check-imperative # uncomment if you need.

.pre-commit-hooks.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,10 @@
4141
args: [--merge-base]
4242
pass_filenames: false
4343
language: python
44+
- id: check-imperative
45+
name: check imperative mood
46+
description: ensures commit message uses imperative mood
47+
entry: commit-check
48+
args: [--imperative]
49+
pass_filenames: true
50+
language: python

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy