chiark / gitweb /
lint: enforce HTTPS and shortener ban in descriptions as well
authorHans-Christoph Steiner <hans@eds.org>
Mon, 4 Dec 2017 19:34:13 +0000 (20:34 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 6 Dec 2017 08:54:25 +0000 (09:54 +0100)
fdroidserver/lint.py

index b53553593f3453124991e7f9a4f5132a33cdc589..319225854bc8e0c3aaa0699ba083fee62d84f1ed 100644 (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'),