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

tasks: Enforce kwargs use in task message

parent 8234d8da
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ from .loader import HgBundle20Loader, HgArchiveBundle20Loader
@shared_task(name=__name__ + '.LoadMercurial')
def load_hg(url, directory=None, visit_date=None):
def load_hg(*, url, directory=None, visit_date=None):
"""Mercurial repository loading
Import a mercurial tarball into swh.
......@@ -23,7 +23,7 @@ def load_hg(url, directory=None, visit_date=None):
@shared_task(name=__name__ + '.LoadArchiveMercurial')
def load_hg_from_archive(url, archive_path=None, visit_date=None):
def load_hg_from_archive(*, url, archive_path=None, visit_date=None):
"""Import a mercurial tarball into swh.
Args: see :func:`DepositLoader.load`.
......
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