-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.py
More file actions
32 lines (25 loc) · 937 Bytes
/
config.py
File metadata and controls
32 lines (25 loc) · 937 Bytes
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
# Limits for the subject line length
SUBJECT_LINE_LENGTH_HARD_LIMIT = 60
SUBJECT_LINE_LENGTH_WARNING = 50
# Limits for the lines in the body
BODY_LINE_LENGTH_HARD_LIMIT = 80
BODY_LINE_LENGTH_WARNING = 72
# If the commit is aborted by the commit-msg hook
# the 'bad' message will be stored and will
# be used as a template for next commit message
STORE_BAD_MESSAGE = True
# Print if any non critical errors are found
# in the commit message.
PRINT_WARNINGS = True
# Fix some easily fixable errors, e.g.
# * Capitlize the subject line
# * Remove punctuation from subject line
DO_MESSAGE_FIXUP = True
# Ensure that the subject is in imperative and
# that no subjunctive sentence are in the body
DO_MOOD_CHECK = True
# Search for spelling errors
DO_SPELL_CHECK = True
# This is where "new" words are added. This path should
# also be recongnized by aspell in order to have effect.
SPELL_CHECK_PERSONAL_WORDLIST = "~/.aspell.en.pws"