chiark / gitweb /
lint: check whitespaces in "Author Name"
authorBoris Kraut <krt@nurfuerspam.de>
Sun, 31 Jan 2016 11:53:38 +0000 (12:53 +0100)
committerBoris Kraut <krt@nurfuerspam.de>
Sun, 31 Jan 2016 20:37:25 +0000 (21:37 +0100)
fdroidserver/lint.py

index 8722c6fd5af5532eb6e777ca7102ded4aae5c965..a5a8c655bf47d491bec047e83c2c6d654ea83637 100644 (file)
@@ -74,6 +74,10 @@ regex_checks = {
          "Flattr donation methods belong in the FlattrID flag"),
     ],
     'Changelog': http_checks,
+    'Author Name': [
+        (re.compile(r'^\s'),
+         "Unnecessary leading space"),
+    ],
     'License': [
         (re.compile(r'^(|None|Unknown)$'),
          "No license specified"),