chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea62609
)
Make lint check for trailing spaces
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 15 Oct 2014 12:36:59 +0000
(14:36 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 15 Oct 2014 12:36:59 +0000
(14:36 +0200)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index d42efdf72feba7c90d72941c68874c2e8c5d3180..ff1c0c7c175c3f7fc911961a2632472d4a788fa0 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-89,6
+89,8
@@
regex_warnings = {
"Invalid bulleted list"),
(re.compile(r'^ '),
"Unnecessary leading space"),
+ (re.compile(r'.* $'),
+ "Unnecessary trailing space"),
],
}