mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Warn about incorrect bulleted lists
This commit is contained in:
parent
c9d8146f9e
commit
e7b863ad20
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue