chiark / gitweb /
lint: also check for trailing spaces in names
[fdroidserver.git] / fdroidserver / lint.py
index a5a8c655bf47d491bec047e83c2c6d654ea83637..ee4381c0f10c4a4a73adad3a71be4ebc9b6aa281 100644 (file)
@@ -77,6 +77,8 @@ regex_checks = {
     'Author Name': [
         (re.compile(r'^\s'),
          "Unnecessary leading space"),
+        (re.compile(r'.*\s$'),
+         "Unnecessary trailing space"),
     ],
     'License': [
         (re.compile(r'^(|None|Unknown)$'),