Skip to content
Snippets Groups Projects
Verified Commit bea9d6d1 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

gitlab: make url mandatory and add type

parent d62e77c1
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ class GitLabLister(Lister[GitLabListerState, PageResult]):
def __init__(
self,
scheduler,
url=None,
url: str,
instance: Optional[str] = None,
credentials: Optional[CredentialsType] = None,
incremental: bool = False,
......
......@@ -17,6 +17,7 @@ lister_args = {
"api_token": "bogus",
},
"gitea": {"url": "https://try.gitea.io/api/v1/",},
"gitlab": {"url": "https://gitlab.ow2.org/api/v4", "instance": "ow2",},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment