1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Merge branch 'authorregex' into 'master'

lint: check whitespaces in "Author Name"



See merge request !94
This commit is contained in:
Daniel Martí 2016-01-31 21:26:31 +00:00
commit 8f36adfd7b

View 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"),