mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Warn about leading spaces in descriptions
This commit is contained in:
parent
225c644b3e
commit
65205a6ec3
1 changed files with 2 additions and 0 deletions
|
|
@ -190,6 +190,8 @@ def main():
|
||||||
for line in app['Description']:
|
for line in app['Description']:
|
||||||
if re.match(r'[ ]*[*#][^ .]', line):
|
if re.match(r'[ ]*[*#][^ .]', line):
|
||||||
warn("Invalid bulleted list: '%s'" % line)
|
warn("Invalid bulleted list: '%s'" % line)
|
||||||
|
if re.match(r'^ ', line):
|
||||||
|
warn("Unnecessary leading space: '%s'" % line)
|
||||||
desc_chars += len(line)
|
desc_chars += len(line)
|
||||||
|
|
||||||
# Description size limit
|
# Description size limit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue