mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
lint: check whether the locale was included in an f-droid.org URL
This commit is contained in:
parent
78473e7dab
commit
76b026e572
1 changed files with 2 additions and 0 deletions
|
|
@ -165,6 +165,8 @@ regex_checks = {
|
||||||
'Description': https_enforcings + http_url_shorteners + [
|
'Description': https_enforcings + http_url_shorteners + [
|
||||||
(re.compile(r'\s*[*#][^ .]'),
|
(re.compile(r'\s*[*#][^ .]'),
|
||||||
_("Invalid bulleted list")),
|
_("Invalid bulleted list")),
|
||||||
|
(re.compile(r'https://f-droid.org/[a-z][a-z](_[A-Za-z]{2,4})?/'),
|
||||||
|
_("Locale included in f-droid.org URL")),
|
||||||
(re.compile(r'^\s'),
|
(re.compile(r'^\s'),
|
||||||
_("Unnecessary leading space")),
|
_("Unnecessary leading space")),
|
||||||
(re.compile(r'.*\s$'),
|
(re.compile(r'.*\s$'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue