mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
lint: don't assume trailing slashes in urls are redundant
This commit is contained in:
parent
4a4c05e21a
commit
c70e03f67c
@ -43,8 +43,6 @@ https_enforcings = [
|
||||
]
|
||||
|
||||
http_warnings = https_enforcings + [
|
||||
(re.compile(r'.*/$'),
|
||||
"HTTP links shouldn't end with a slash"),
|
||||
(re.compile(r'.*github\.com/[^/]+/[^/]+\.git'),
|
||||
"Appending .git is not necessary"),
|
||||
# TODO enable in August 2015, when Google Code goes read-only
|
||||
|
Loading…
Reference in New Issue
Block a user