chiark / gitweb /
Warn about summaries that are not capitalized
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 26 May 2014 06:09:22 +0000 (08:09 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 26 May 2014 06:09:22 +0000 (08:09 +0200)
fdroidserver/lint.py

index 261a20170a33187c1969beb2cedc499f991eb3f5..65dc52d9ae7a9bc6bf10e366e3b0fd3ea6c099d7 100644 (file)
@@ -109,6 +109,8 @@ regex_pedantic = {
          "/issues is often enough on its own"),
         ],
     'Summary': [
+        (re.compile(r'^[a-z]'),
+         "No capitalization was done"),
         (re.compile(r'.*\bandroid\b.*', re.IGNORECASE),
          "No need to specify that the app is for Android"),
         (re.compile(r'.*\b(app|application)\b.*', re.IGNORECASE),