mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 08:51:06 +03:00
lint: enforce HTTPS and shortener ban in descriptions as well
This commit is contained in:
parent
42a9833536
commit
05616b33a7
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ regex_checks = {
|
||||||
(re.compile(r'.*\s$'),
|
(re.compile(r'.*\s$'),
|
||||||
_("Unnecessary trailing space")),
|
_("Unnecessary trailing space")),
|
||||||
],
|
],
|
||||||
'Description': [
|
'Description': https_enforcings + http_url_shorteners + [
|
||||||
(re.compile(r'\s*[*#][^ .]'),
|
(re.compile(r'\s*[*#][^ .]'),
|
||||||
_("Invalid bulleted list")),
|
_("Invalid bulleted list")),
|
||||||
(re.compile(r'^\s'),
|
(re.compile(r'^\s'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue