mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 18:50:11 +02:00
lint: small cleanup
This commit is contained in:
parent
ecad89dc05
commit
b42b45f762
@ -60,12 +60,9 @@ http_checks = https_enforcings + http_url_shorteners + [
|
|||||||
]
|
]
|
||||||
|
|
||||||
regex_checks = {
|
regex_checks = {
|
||||||
'Web Site': http_checks + [
|
'Web Site': http_checks,
|
||||||
],
|
'Source Code': http_checks,
|
||||||
'Source Code': http_checks + [
|
'Repo': https_enforcings,
|
||||||
],
|
|
||||||
'Repo': https_enforcings + [
|
|
||||||
],
|
|
||||||
'Issue Tracker': http_checks + [
|
'Issue Tracker': http_checks + [
|
||||||
(re.compile(r'.*github\.com/[^/]+/[^/]+[/]*$'),
|
(re.compile(r'.*github\.com/[^/]+/[^/]+[/]*$'),
|
||||||
"/issues is missing"),
|
"/issues is missing"),
|
||||||
@ -74,8 +71,7 @@ regex_checks = {
|
|||||||
(re.compile(r'.*flattr\.com'),
|
(re.compile(r'.*flattr\.com'),
|
||||||
"Flattr donation methods belong in the FlattrID flag"),
|
"Flattr donation methods belong in the FlattrID flag"),
|
||||||
],
|
],
|
||||||
'Changelog': http_checks + [
|
'Changelog': http_checks,
|
||||||
],
|
|
||||||
'License': [
|
'License': [
|
||||||
(re.compile(r'^(|None|Unknown)$'),
|
(re.compile(r'^(|None|Unknown)$'),
|
||||||
"No license specified"),
|
"No license specified"),
|
||||||
|
Loading…
Reference in New Issue
Block a user