From 622195bf16b61726745f454ac8dda6b7f3a82584 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Thu, 31 Dec 2015 11:21:47 +0100 Subject: [PATCH] lint: warn about spaces in summaries too --- fdroidserver/lint.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index cca735b0..8722c6fd 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -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$'), -- 2.30.2