Skip to content

Commit

Permalink
add --skip to shed_lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Oct 16, 2023
1 parent b7c79c5 commit b7192a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@options.shed_realization_options()
@options.report_level_option()
@options.fail_level_option()
@options.skip_option()
@options.click.option(
"--tools", is_flag=True, default=False, help=("Lint tools discovered in the process of linting repositories.")
)
Expand Down
2 changes: 2 additions & 0 deletions planemo/shed_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def lint_repository(ctx, realized_repository, **kwds):
path = realized_repository.real_path
info("Linting repository %s" % path)
lint_args = build_tool_lint_args(ctx, **kwds)
info(f"Lint_args {lint_args}")
lint_args, lint_ctx = setup_lint(ctx, lint_args=lint_args, **kwds)
info(f"Lint_args {lint_args} lint_ctx.skip_types {lint_ctx.skip_types}")
lint_ctx.lint(
"lint_expansion",
lint_expansion,
Expand Down

0 comments on commit b7192a2

Please sign in to comment.