mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
linter: Re-enable gitlint.
This commit is contained in:
2
.gitlint
2
.gitlint
@@ -1,7 +1,7 @@
|
|||||||
[general]
|
[general]
|
||||||
ignore=title-trailing-punctuation, body-min-length, body-is-missing
|
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]
|
[title-match-regex]
|
||||||
regex=^.+\.$
|
regex=^.+\.$
|
||||||
|
|||||||
@@ -167,9 +167,9 @@ def run():
|
|||||||
external_linter('urls', ['tools/check-urls'], ['py'])
|
external_linter('urls', ['tools/check-urls'], ['py'])
|
||||||
external_linter('swagger', ['node', 'tools/check-swagger'], ['yaml'])
|
external_linter('swagger', ['node', 'tools/check-swagger'], ['yaml'])
|
||||||
|
|
||||||
# gitlint disabled until we can stabilize it more
|
# Disabled check for imperative mood until it is stabilized
|
||||||
# if not args.no_gitlint:
|
if not args.no_gitlint:
|
||||||
# external_linter('commit_messages', ['tools/commit-message-lint'])
|
external_linter('commit_messages', ['tools/commit-message-lint'])
|
||||||
|
|
||||||
@lint
|
@lint
|
||||||
def custom_py():
|
def custom_py():
|
||||||
|
|||||||
Reference in New Issue
Block a user