mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-18 20:50:10 +01:00
lint: check whether the locale was included in an f-droid.org URL
This commit is contained in:
parent
78473e7dab
commit
76b026e572
@ -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…
Reference in New Issue
Block a user