| 1 |
DEBUG: gitlint.cli To report issues, please visit https://github.com/jorisroovers/gitlint/issues |
| 2 |
DEBUG: gitlint.cli Platform: {platform} |
| 3 |
DEBUG: gitlint.cli Python version: {python_version} |
| 4 |
DEBUG: gitlint.git ('--version',) |
| 5 |
DEBUG: gitlint.cli Git version: {git_version} |
| 6 |
DEBUG: gitlint.cli Gitlint version: {gitlint_version} |
| 7 |
DEBUG: gitlint.cli GITLINT_USE_SH_LIB: {GITLINT_USE_SH_LIB} |
| 8 |
DEBUG: gitlint.cli TERMINAL_ENCODING: {TERMINAL_ENCODING} |
| 9 |
DEBUG: gitlint.cli FILE_ENCODING: {FILE_ENCODING} |
| 10 |
DEBUG: gitlint.cli Configuration |
| 11 |
config-path: {config_path} |
| 12 |
[GENERAL] |
| 13 |
extra-path: None |
| 14 |
contrib: [] |
| 15 |
ignore: title-trailing-punctuation,B2 |
| 16 |
ignore-merge-commits: True |
| 17 |
ignore-fixup-commits: True |
| 18 |
ignore-fixup-amend-commits: True |
| 19 |
ignore-squash-commits: True |
| 20 |
ignore-revert-commits: True |
| 21 |
ignore-stdin: False |
| 22 |
staged: False |
| 23 |
fail-without-commits: False |
| 24 |
regex-style-search: False |
| 25 |
verbosity: 2 |
| 26 |
debug: True |
| 27 |
target: {target} |
| 28 |
[RULES] |
| 29 |
I1: ignore-by-title |
| 30 |
ignore=all |
| 31 |
regex=None |
| 32 |
I2: ignore-by-body |
| 33 |
ignore=all |
| 34 |
regex=None |
| 35 |
I3: ignore-body-lines |
| 36 |
regex=None |
| 37 |
I4: ignore-by-author-name |
| 38 |
ignore=all |
| 39 |
regex=None |
| 40 |
T1: title-max-length |
| 41 |
line-length=20 |
| 42 |
T2: title-trailing-whitespace |
| 43 |
T6: title-leading-whitespace |
| 44 |
T3: title-trailing-punctuation |
| 45 |
T4: title-hard-tab |
| 46 |
T5: title-must-not-contain-word |
| 47 |
words=WIP,thåt |
| 48 |
T7: title-match-regex |
| 49 |
regex=None |
| 50 |
T8: title-min-length |
| 51 |
min-length=5 |
| 52 |
B1: body-max-line-length |
| 53 |
line-length=30 |
| 54 |
B5: body-min-length |
| 55 |
min-length=20 |
| 56 |
B6: body-is-missing |
| 57 |
ignore-merge-commits=True |
| 58 |
B2: body-trailing-whitespace |
| 59 |
B3: body-hard-tab |
| 60 |
B4: body-first-line-empty |
| 61 |
B7: body-changed-file-mention |
| 62 |
files= |
| 63 |
B8: body-match-regex |
| 64 |
regex=None |
| 65 |
M1: author-valid-email |
| 66 |
regex=^[^@ ]+@[^@ ]+\.[^@ ]+ |
| 67 |
|
| 68 |
DEBUG: gitlint.cli No --msg-filename flag, no or empty data passed to stdin. Using the local repo. |
| 69 |
DEBUG: gitlint.git ('log', '-1', '--pretty=%H') |
| 70 |
DEBUG: gitlint.cli Linting 1 commit(s) |
| 71 |
DEBUG: gitlint.git ('log', '{commit_sha}', '-1', '--pretty=%aN%x00%aE%x00%ai%x00%P%n%B') |
| 72 |
DEBUG: gitlint.git ('config', '--get', 'core.commentchar') |
| 73 |
DEBUG: gitlint.lint Linting commit {commit_sha} |
| 74 |
DEBUG: gitlint.git ('diff-tree', '--no-commit-id', '--numstat', '-r', '--root', '{commit_sha}') |
| 75 |
DEBUG: gitlint.git ('branch', '--contains', '{commit_sha}') |
| 76 |
DEBUG: gitlint.lint Commit Object |
| 77 |
--- Commit Message ---- |
| 78 |
WIP: Thïs is a title thåt is a bit longer. |
| 79 |
Content on the second line |
| 80 |
This line of the body is here because we need it |
| 81 |
|
| 82 |
--- Meta info --------- |
| 83 |
Author: gitlint-test-user <[email protected]> |
| 84 |
Date: {commit_date} |
| 85 |
is-merge-commit: False |
| 86 |
is-fixup-commit: False |
| 87 |
is-fixup-amend-commit: False |
| 88 |
is-squash-commit: False |
| 89 |
is-revert-commit: False |
| 90 |
Parents: [] |
| 91 |
Branches: ['main'] |
| 92 |
Changed Files: {changed_files} |
| 93 |
Changed Files Stats: |
| 94 |
{changed_files_stats} |
| 95 |
----------------------- |
| 96 |
1: T1 Title exceeds max length (42>20) |
| 97 |
1: T5 Title contains the word 'WIP' (case-insensitive) |
| 98 |
1: T5 Title contains the word 'thåt' (case-insensitive) |
| 99 |
2: B4 Second line is not empty |
| 100 |
3: B1 Line exceeds max length (48>30) |
| 101 |
DEBUG: gitlint.cli Exit Code = 5 |