mirror of https://github.com/zulip/zulip.git
linter: Re-enable gitlint.
This commit is contained in:
parent
3cfb2d57b2
commit
7243a91e47
2
.gitlint
2
.gitlint
|
@ -1,7 +1,7 @@
|
|||
[general]
|
||||
ignore=title-trailing-punctuation, body-min-length, body-is-missing
|
||||
|
||||
extra-path=tools/lib/gitlint-rules.py
|
||||
# extra-path=tools/lib/gitlint-rules.py
|
||||
|
||||
[title-match-regex]
|
||||
regex=^.+\.$
|
||||
|
|
|
@ -167,9 +167,9 @@ def run():
|
|||
external_linter('urls', ['tools/check-urls'], ['py'])
|
||||
external_linter('swagger', ['node', 'tools/check-swagger'], ['yaml'])
|
||||
|
||||
# gitlint disabled until we can stabilize it more
|
||||
# if not args.no_gitlint:
|
||||
# external_linter('commit_messages', ['tools/commit-message-lint'])
|
||||
# Disabled check for imperative mood until it is stabilized
|
||||
if not args.no_gitlint:
|
||||
external_linter('commit_messages', ['tools/commit-message-lint'])
|
||||
|
||||
@lint
|
||||
def custom_py():
|
||||
|
|
Loading…
Reference in New Issue