Loading lib/galaxy/util/__init__.py +2 −4 Original line number Diff line number Diff line Loading @@ -55,13 +55,11 @@ except ImportError: LXML_AVAILABLE = True try: from lxml import etree Element = etree._Element from lxml.etree import _Element as Element except ImportError: LXML_AVAILABLE = False import xml.etree.ElementTree as etree # type: ignore[assignment,no-redef] Element = etree.Element from xml.etree.ElementTree import Element # noqa: F401 # type: ignore[assignment,no-redef] try: import docutils.core as docutils_core Loading test/unit/app/jobs/dynamic_tool_destination/test_dynamic_tool_destination.py +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ import logging import os import unittest from testfixtures import log_capture from testfixtures.logcapture import log_capture import galaxy.jobs.dynamic_tool_destination as dt from galaxy.jobs.dynamic_tool_destination import map_tool_to_destination Loading Loading
lib/galaxy/util/__init__.py +2 −4 Original line number Diff line number Diff line Loading @@ -55,13 +55,11 @@ except ImportError: LXML_AVAILABLE = True try: from lxml import etree Element = etree._Element from lxml.etree import _Element as Element except ImportError: LXML_AVAILABLE = False import xml.etree.ElementTree as etree # type: ignore[assignment,no-redef] Element = etree.Element from xml.etree.ElementTree import Element # noqa: F401 # type: ignore[assignment,no-redef] try: import docutils.core as docutils_core Loading
test/unit/app/jobs/dynamic_tool_destination/test_dynamic_tool_destination.py +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ import logging import os import unittest from testfixtures import log_capture from testfixtures.logcapture import log_capture import galaxy.jobs.dynamic_tool_destination as dt from galaxy.jobs.dynamic_tool_destination import map_tool_to_destination Loading