We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3151e commit c005ce1Copy full SHA for c005ce1
.pre-commit-config.yaml
@@ -42,4 +42,5 @@ repos:
42
- id: check-author-name # uncomment if you need.
43
- id: check-author-email # uncomment if you need.
44
# - id: check-commit-signoff # uncomment if you need.
45
- # - id: check-merge-base # requires download all git history
+ # - id: check-merge-base # requires download all git history
46
+ # - id: check-imperative # uncomment if you need.
.pre-commit-hooks.yaml
@@ -41,3 +41,10 @@
41
args: [--merge-base]
pass_filenames: false
language: python
+- id: check-imperative
+ name: check imperative mood
+ description: ensures commit message uses imperative mood
47
+ entry: commit-check
48
+ args: [--imperative]
49
+ pass_filenames: true
50
+ language: python
0 commit comments