-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
56 lines (56 loc) · 1.69 KB
/
.pre-commit-hooks.yaml
File metadata and controls
56 lines (56 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
- id: check-description-max-length
name: Check Description Max Length
description: Check lines in the description are not more than 72 characters.
entry: check-description-max-length
language: python
stages:
- commit-msg
- id: check-second-line-empty
name: Check Second Line is Empty
description: Check the second line of the commit message is blank.
entry: check-second-line-empty
language: python
stages:
- commit-msg
- id: check-summary-conjunction
name: Check Summary Conjugated Sentence
description: Check the summary does not contain conjugated sentences.
entry: check-summary-conjunction
language: python
stages:
- commit-msg
- id: check-summary-imperative
name: Check Summary is Imperative Tense
description: Check the summary starts with a verb.
entry: check-summary-imperative
language: python
stages:
- commit-msg
- id: check-summary-capitalized
name: Check Summary is Capitalized
description: Check the summary starts with a capital letter.
entry: check-summary-capitalized
language: python
stages:
- commit-msg
- id: check-summary-max-length
name: Check Summary Max Length
description: Check the summary is not more than 54 characters.
entry: check-summary-max-length
language: python
stages:
- commit-msg
- id: check-summary-min-length
name: Check Description Min Length
description: Check the summary is at least 6 characters.
entry: check-summary-min-length
language: python
stages:
- commit-msg
- id: check-summary-punctuation
name: Check Summary is not Punctuated
description: Check the summary does not end with punctuation.
entry: check-summary-punctuation
language: python
stages:
- commit-msg