1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

lint: warn about spaces in summaries too

This commit is contained in:
Daniel Martí 2015-12-31 11:21:47 +01:00
parent 3ac535108a
commit 622195bf16

View File

@ -87,6 +87,10 @@ regex_checks = {
"No need to specify that the app is for Android"),
(re.compile(r'.*[a-z0-9][.!?]( |$)'),
"Punctuation should be avoided"),
(re.compile(r'^\s'),
"Unnecessary leading space"),
(re.compile(r'.*\s$'),
"Unnecessary trailing space"),
],
'Description': [
(re.compile(r'^No description available$'),