diff --git a/nf_core/__main__.py b/nf_core/__main__.py index e7087b4931..3ea2e62380 100755 --- a/nf_core/__main__.py +++ b/nf_core/__main__.py @@ -738,17 +738,16 @@ def lint(ctx, tool, dir, key, all, fail_warned, local, passed, fix_version): # try: module_lint = nf_core.modules.ModuleLint( dir, - fail_warned, - ctx.obj["modules_repo_url"], - ctx.obj["modules_repo_branch"], - ctx.obj["modules_repo_no_pull"], - ctx.obj["hide_progress"], + fail_warned=fail_warned, + remote_url=ctx.obj["modules_repo_url"], + branch=ctx.obj["modules_repo_branch"], + no_pull=ctx.obj["modules_repo_no_pull"], + hide_progress=ctx.obj["hide_progress"], ) module_lint.lint( module=tool, key=key, all_modules=all, - hide_progress=ctx.obj["hide_progress"], print_results=True, local=local, show_passed=passed, diff --git a/nf_core/modules/lint/__init__.py b/nf_core/modules/lint/__init__.py index 64251d8e8c..de50770ebb 100644 --- a/nf_core/modules/lint/__init__.py +++ b/nf_core/modules/lint/__init__.py @@ -72,7 +72,12 @@ def __init__( hide_progress=False, ): super().__init__( - "modules", dir=dir, remote_url=remote_url, branch=branch, no_pull=no_pull, hide_progress=hide_progress + "modules", + dir=dir, + remote_url=remote_url, + branch=branch, + no_pull=no_pull, + hide_progress=hide_progress, ) self.fail_warned = fail_warned