From e7b863ad2065a7e47eccf875933c47071f5f0f9c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Mon, 20 Jan 2014 11:15:15 +0100 Subject: [PATCH] Warn about incorrect bulleted lists --- fdroidserver/lint.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index de805527..d790f41b 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -90,6 +90,8 @@ def main(): # Description size limit desc_chars = 0 for line in app['Description']: + if re.match(r'[ ]*\*[^ ]', line): + warn("Invalid bulleted list: '%s'" % line) desc_chars += len(line) if desc_chars > config['char_limits']['Description']: warn("Description of length %s is over the %i char limit" % ( @@ -117,7 +119,6 @@ def main(): if build['commit'].startswith(n): warn("Branch '%s' used as commit" % n) - if not appid: print -- 2.30.2