From: Daniel Martí Date: Thu, 5 Mar 2015 14:32:45 +0000 (+0100) Subject: lint: don't take commas as punctuation X-Git-Tag: 0.4.0~111 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fdb71e2a41acc1c48d541e0212c031ee71e9b18e;p=fdroidserver.git lint: don't take commas as punctuation --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 9d6e521a..4f17914a 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -122,7 +122,7 @@ regex_pedantic = { 'Summary': [ (re.compile(r'.*\b(free software|open source)\b.*', re.IGNORECASE), "No need to specify that the app is Free Software"), - (re.compile(r'.*[a-z0-9][.,!?][ $]'), + (re.compile(r'.*[a-z0-9][.!?][ $]'), "Punctuation should be avoided"), ], }