mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
lint: don't assume trailing slashes in urls are redundant
This commit is contained in:
parent
4a4c05e21a
commit
c70e03f67c
1 changed files with 0 additions and 2 deletions
|
|
@ -43,8 +43,6 @@ https_enforcings = [
|
||||||
]
|
]
|
||||||
|
|
||||||
http_warnings = https_enforcings + [
|
http_warnings = https_enforcings + [
|
||||||
(re.compile(r'.*/$'),
|
|
||||||
"HTTP links shouldn't end with a slash"),
|
|
||||||
(re.compile(r'.*github\.com/[^/]+/[^/]+\.git'),
|
(re.compile(r'.*github\.com/[^/]+/[^/]+\.git'),
|
||||||
"Appending .git is not necessary"),
|
"Appending .git is not necessary"),
|
||||||
# TODO enable in August 2015, when Google Code goes read-only
|
# TODO enable in August 2015, when Google Code goes read-only
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue