From: Daniel Martí Date: Thu, 4 Jun 2015 13:45:33 +0000 (+0200) Subject: lint: move punctuation warnings out of pedantic X-Git-Tag: 0.4.0~47 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ce5922d0a186b0300a33a1feee65294055fa7a3a;p=fdroidserver.git lint: move punctuation warnings out of pedantic --- 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"), - ], }