lint: enforce HTTPS and shortener ban in descriptions as well

This commit is contained in:
Hans-Christoph Steiner 2017-12-04 20:34:13 +01:00
parent 42a9833536
commit 05616b33a7

View file

@ -109,7 +109,7 @@ regex_checks = {
(re.compile(r'.*\s$'), (re.compile(r'.*\s$'),
_("Unnecessary trailing space")), _("Unnecessary trailing space")),
], ],
'Description': [ 'Description': https_enforcings + http_url_shorteners + [
(re.compile(r'\s*[*#][^ .]'), (re.compile(r'\s*[*#][^ .]'),
_("Invalid bulleted list")), _("Invalid bulleted list")),
(re.compile(r'^\s'), (re.compile(r'^\s'),