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:
93a56e4
)
Warn about summaries that are not capitalized
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 26 May 2014 06:09:22 +0000
(08:09 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 26 May 2014 06:09:22 +0000
(08:09 +0200)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 261a20170a33187c1969beb2cedc499f991eb3f5..65dc52d9ae7a9bc6bf10e366e3b0fd3ea6c099d7 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-109,6
+109,8
@@
regex_pedantic = {
"/issues is often enough on its own"),
],
'Summary': [
+ (re.compile(r'^[a-z]'),
+ "No capitalization was done"),
(re.compile(r'.*\bandroid\b.*', re.IGNORECASE),
"No need to specify that the app is for Android"),
(re.compile(r'.*\b(app|application)\b.*', re.IGNORECASE),