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:
42a9833
)
lint: enforce HTTPS and shortener ban in descriptions as well
author
Hans-Christoph Steiner
<hans@eds.org>
Mon, 4 Dec 2017 19:34:13 +0000
(20:34 +0100)
committer
Hans-Christoph Steiner
<hans@eds.org>
Wed, 6 Dec 2017 08:54:25 +0000
(09:54 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index b53553593f3453124991e7f9a4f5132a33cdc589..319225854bc8e0c3aaa0699ba083fee62d84f1ed 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-109,7
+109,7
@@
regex_checks = {
(re.compile(r'.*\s$'),
_("Unnecessary trailing space")),
],
- 'Description': [
+ 'Description':
https_enforcings + http_url_shorteners +
[
(re.compile(r'\s*[*#][^ .]'),
_("Invalid bulleted list")),
(re.compile(r'^\s'),