From 5858ba568028bfc0d9c5f85c20012ca677dbee94 Mon Sep 17 00:00:00 2001 From: Boris Kraut Date: Sun, 31 Jan 2016 12:53:38 +0100 Subject: [PATCH] lint: check whitespaces in "Author Name" --- fdroidserver/lint.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 8722c6fd..a5a8c655 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -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"),