blob: 80bee743b21b7e622fc3df37b111fdd185e2bc23 (
plain)
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
57
|
DEBUG: gitlint.cli Platform: {platform}
DEBUG: gitlint.cli Python version: {python_version}
DEBUG: gitlint.cli Git version: {git_version}
DEBUG: gitlint.cli Gitlint version: {gitlint_version}
DEBUG: gitlint.cli Configuration
config-path: {config_path}
[GENERAL]
extra-path: None
ignore: title-trailing-punctuation,B2
ignore-merge-commits: True
ignore-fixup-commits: True
ignore-squash-commits: True
verbosity: 2
debug: True
target: {target}
[RULES]
I1: ignore-by-title
regex=None
ignore=all
T1: title-max-length
line-length=20
T2: title-trailing-whitespace
T6: title-leading-whitespace
T3: title-trailing-punctuation
T4: title-hard-tab
T5: title-must-not-contain-word
words=WIP,thåt
T7: title-match-regex
regex=.*
B1: body-max-line-length
line-length=30
B5: body-min-length
min-length=20
B6: body-is-missing
ignore-merge-commits=True
B2: body-trailing-whitespace
B3: body-hard-tab
B4: body-first-line-empty
B7: body-changed-file-mention
files=
M1: author-valid-email
regex=[^@ ]+@[^@ ]+\.[^@ ]+
DEBUG: gitlint.lint Linting commit {commit_sha}
DEBUG: gitlint.lint Commit Object
Author: gitlint-test-user <gitlint@test.com>
Date: {commit_date}
WIP: Thïs is a title thåt is a bit longer.
Content on the second line
This line of the body is here because we need it
1: T1 Title exceeds max length (42>20)
1: T5 Title contains the word 'WIP' (case-insensitive)
1: T5 Title contains the word 'thåt' (case-insensitive)
2: B4 Second line is not empty
3: B1 Line exceeds max length (48>30)
DEBUG: gitlint.cli Exit Code = 5
|