From cb9d50f59f6e0dc7d462311a2bca1480a2529f34 Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Wed, 8 May 2024 15:49:33 +0200 Subject: [PATCH] drop --xsd option --- planemo/commands/cmd_lint.py | 1 - planemo/commands/cmd_shed_lint.py | 1 - planemo/options.py | 6 ------ planemo/tool_lint.py | 2 -- 4 files changed, 10 deletions(-) diff --git a/planemo/commands/cmd_lint.py b/planemo/commands/cmd_lint.py index 14185f1f5..85a3c77cc 100644 --- a/planemo/commands/cmd_lint.py +++ b/planemo/commands/cmd_lint.py @@ -16,7 +16,6 @@ @options.report_xunit() @options.fail_level_option() @options.skip_options() -@options.lint_xsd_option() @options.recursive_option() @click.option( "--urls", diff --git a/planemo/commands/cmd_shed_lint.py b/planemo/commands/cmd_shed_lint.py index 4ae21ab93..80f420b31 100644 --- a/planemo/commands/cmd_shed_lint.py +++ b/planemo/commands/cmd_shed_lint.py @@ -18,7 +18,6 @@ @options.click.option( "--tools", is_flag=True, default=False, help=("Lint tools discovered in the process of linting repositories.") ) -@options.lint_xsd_option() @options.click.option( "--ensure_metadata", is_flag=True, diff --git a/planemo/options.py b/planemo/options.py index bfde2dee5..71f15fc81 100644 --- a/planemo/options.py +++ b/planemo/options.py @@ -1375,12 +1375,6 @@ def shed_fail_fast_option(): ) -def lint_xsd_option(): - return planemo_option( - "--xsd/--no_xsd", is_flag=True, default=False, help=("Include tool XSD validation in linting process.") - ) - - def lint_biocontainers_option(): return planemo_option( "biocontainer", diff --git a/planemo/tool_lint.py b/planemo/tool_lint.py index 5fce052fb..9e72d2646 100644 --- a/planemo/tool_lint.py +++ b/planemo/tool_lint.py @@ -51,8 +51,6 @@ def lint_tools_on_path(ctx, paths, lint_args, **kwds): def _lint_extra_modules(**kwds): linters = [] - if kwds.get("xsd", True): - linters.append(planemo.linters.xsd) if kwds.get("doi", False): linters.append(planemo.linters.doi)