1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00

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$'),
_("Unnecessary trailing space")),
],
'Description': [
'Description': https_enforcings + http_url_shorteners + [
(re.compile(r'\s*[*#][^ .]'),
_("Invalid bulleted list")),
(re.compile(r'^\s'),