mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
lint: small cleanup
This commit is contained in:
parent
ecad89dc05
commit
b42b45f762
1 changed files with 4 additions and 8 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue