chiark / gitweb /
lint: don't take commas as punctuation
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 5 Mar 2015 14:32:45 +0000 (15:32 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 5 Mar 2015 14:32:45 +0000 (15:32 +0100)
fdroidserver/lint.py

index 9d6e521ae742d797dc1a6e852f9903ac2c8cdbea..4f17914af209b0ab5acb15b8ec257dd88e96dc6a 100644 (file)
@@ -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"),
     ],
 }