mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
Warn about leading spaces in descriptions
This commit is contained in:
parent
225c644b3e
commit
65205a6ec3
@ -190,6 +190,8 @@ def main():
|
||||
for line in app['Description']:
|
||||
if re.match(r'[ ]*[*#][^ .]', line):
|
||||
warn("Invalid bulleted list: '%s'" % line)
|
||||
if re.match(r'^ ', line):
|
||||
warn("Unnecessary leading space: '%s'" % line)
|
||||
desc_chars += len(line)
|
||||
|
||||
# Description size limit
|
||||
|
Loading…
Reference in New Issue
Block a user