diff --git a/lib/galaxy/tool_util/linters/xsd.py b/lib/galaxy/tool_util/linters/xsd.py index 63abd05c07f8..aa17453d0bcf 100644 --- a/lib/galaxy/tool_util/linters/xsd.py +++ b/lib/galaxy/tool_util/linters/xsd.py @@ -25,7 +25,7 @@ def lint(cls, tool_source: "ToolSource", lint_ctx: "LintContext"): xmlschema = etree.parse(TOOL_XSD) xsd = etree.XMLSchema(xmlschema) if not xsd.validate(tool_xml): - for error in xsd.error_log: + for error in xsd.error_log: # type: ignore[attr-defined] # https://github.com/lxml/lxml-stubs/pull/100 # the validation error contains the path which allows # us to lookup the node that is reported in the lint context node = tool_xml.xpath(error.path)