mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
lint: also catch gitlab master links
This commit is contained in:
parent
301302d76e
commit
41690b7508
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ http_url_shorteners = [
|
||||||
http_checks = https_enforcings + http_url_shorteners + [
|
http_checks = https_enforcings + http_url_shorteners + [
|
||||||
(re.compile(r'.*github\.com/[^/]+/[^/]+\.git'),
|
(re.compile(r'.*github\.com/[^/]+/[^/]+\.git'),
|
||||||
"Appending .git is not necessary"),
|
"Appending .git is not necessary"),
|
||||||
(re.compile(r'(.*/blob/master/|.*raw\.github.com/[^/]*/[^/]*/master/)'),
|
(re.compile(r'(.*/blob/master/|.*raw\.github.com/[^/]*/[^/]*/master/|.*/raw/master/)'),
|
||||||
"Use /HEAD/ instead of /master/ to point at a file in the default branch"),
|
"Use /HEAD/ instead of /master/ to point at a file in the default branch"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue