forked from jorisroovers/gitlint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Debug mode (--debug) will now print all the active rules and their config values as well as the general config. Also: - get_expected(...) method in BaseTestCase can now be used to easily fetch expected output files (useful for comparing big strings). - Tweaks to run_tests.sh output and fixes to summarized test result output - pylint should now also run in Travis (fingers crossed!)
- Loading branch information
1 parent
10802a0
commit 9235aeb
Showing
13 changed files
with
158 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[GENERAL] | ||
config path: {config_path} | ||
extra path: {extra_path} | ||
ignore merge commits: False | ||
verbosity: 1 | ||
[RULES] | ||
T1: title-max-length | ||
line-length=20 | ||
T6: title-leading-whitespace | ||
T3: title-trailing-punctuation | ||
T4: title-hard-tab | ||
T5: title-must-not-contain-word | ||
words=['WIP'] | ||
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 | ||
B3: body-hard-tab | ||
B4: body-first-line-empty | ||
B7: body-changed-file-mention | ||
files=[] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[GENERAL] | ||
config path: /vagrant/qa/samples/config/gitlintconfig | ||
extra path: {extra_path} | ||
ignore merge commits: True | ||
verbosity: 2 | ||
[RULES] | ||
T1: title-max-length | ||
line-length=20 | ||
T2: title-trailing-whitespace | ||
T6: title-leading-whitespace | ||
T4: title-hard-tab | ||
T5: title-must-not-contain-word | ||
words=['WIP'] | ||
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 | ||
B3: body-hard-tab | ||
B4: body-first-line-empty | ||
B7: body-changed-file-mention | ||
files=[] | ||
|
||
1: T1 Title exceeds max length (42>20) | ||
1: T5 Title contains the word 'WIP' (case-insensitive) | ||
2: B4 Second line is not empty | ||
3: B1 Line exceeds max length (48>30) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters