galaxy.tool_util.linters package

This package contains linting functions for Galaxy tools.

Submodules

galaxy.tool_util.linters.citations module

This module contains a citation lint function.

Citations describe references that should be used when consumers of the tool publish results.

galaxy.tool_util.linters.citations.lint_citations(tool_xml, lint_ctx)[source]

Ensure tool contains at least one valid citation.

galaxy.tool_util.linters.command module

This module contains a linting function for a tool’s command description.

A command description describes how to build the command-line to execute from supplied inputs.

galaxy.tool_util.linters.command.lint_command(tool_xml, lint_ctx)[source]

Ensure tool contains exactly one command and check attributes.

galaxy.tool_util.linters.command.get_command(tool_xml)[source]

Get command XML element from supplied XML root.

galaxy.tool_util.linters.cwl module

galaxy.tool_util.linters.general module

This module contains linting functions for general aspects of the tool.

galaxy.tool_util.linters.general.lint_general(tool_source, lint_ctx)[source]

Check tool version, name, and id.

galaxy.tool_util.linters.help module

galaxy.tool_util.linters.inputs module

galaxy.tool_util.linters.outputs module

galaxy.tool_util.linters.stdio module

galaxy.tool_util.linters.tests module

galaxy.tool_util.linters.xml_order module

This module contains a linting functions for tool XML block order.

For more information on the IUC standard for XML block order see - https://github.com/galaxy-iuc/standards.

galaxy.tool_util.linters.xml_order.lint_xml_order(tool_xml, lint_ctx)[source]