mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
lint: enforce HTTPS on GitHub and GitLab pages
The always provide HTTPS, so let's enforce it.
This commit is contained in:
parent
17320c23f4
commit
af4e231f7d
2 changed files with 9 additions and 1 deletions
|
|
@ -101,8 +101,12 @@ class LintTest(unittest.TestCase):
|
|||
self.assertFalse(anywarns)
|
||||
|
||||
bad_urls = [
|
||||
'github.com/my/proj',
|
||||
'https://github.com/foo/bar.git',
|
||||
'https://gitlab.com/group/subgroup/project.git',
|
||||
'https://raw.githubusercontent.com/Seva-coder/Finder/master/ChangeLog.txt',
|
||||
'https://github.com/scoutant/blokish/blob/master/README.md#changelog',
|
||||
'http://htmlpreview.github.io/?https://github.com/my/project/blob/HEAD/index.html',
|
||||
]
|
||||
anywarns = False
|
||||
logging.debug('bad urls:')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue