From ce5922d0a186b0300a33a1feee65294055fa7a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 4 Jun 2015 15:45:33 +0200 Subject: [PATCH] lint: move punctuation warnings out of pedantic --- fdroidserver/lint.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 4a47746c..1d6d9548 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -78,6 +78,8 @@ regex_warnings = { "No need to specify that the app is Free Software"), (re.compile(r'.*((your|for).*android|android.*(app|device|client|port|version))', re.IGNORECASE), "No need to specify that the app is for Android"), + (re.compile(r'.*[a-z0-9][.!?]( |$)'), + "Punctuation should be avoided"), ], 'Description': [ (re.compile(r'^No description available$'), @@ -96,10 +98,6 @@ regex_pedantic = { (re.compile(r'.*github\.com/[^/]+/[^/]+/issues/.*'), "/issues is often enough on its own"), ], - 'Summary': [ - (re.compile(r'.*[a-z0-9][.!?][ $]'), - "Punctuation should be avoided"), - ], }