1
0
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:
Daniel Martí 2015-06-05 16:56:25 +02:00
parent 4a4c05e21a
commit c70e03f67c

View File

@ -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