chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lint: also check for trailing spaces in names
[fdroidserver.git]
/
fdroidserver
/
lint.py
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index a5a8c655bf47d491bec047e83c2c6d654ea83637..ee4381c0f10c4a4a73adad3a71be4ebc9b6aa281 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-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)$'),