chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9d8146
)
Warn about incorrect bulleted lists
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 20 Jan 2014 10:15:15 +0000
(11:15 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 20 Jan 2014 10:15:15 +0000
(11:15 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index de805527a89652fa139fdf339b6f1d4cc4c3e3f3..d790f41b121be88ef5658dd4bc907a6f3b2954b1 100644
(file)
--- 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