mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #19780 from selten/patch-13
Allow overriding datatypes for planemo lint
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import os.path
|
||||
from os import getenv
|
||||
from typing import (
|
||||
Set,
|
||||
TYPE_CHECKING,
|
||||
@@ -18,7 +19,7 @@ if TYPE_CHECKING:
|
||||
from galaxy.tool_util.parser import ToolSource
|
||||
from galaxy.util.resources import Traversable
|
||||
|
||||
DATATYPES_CONF = resource_path(__name__, "datatypes_conf.xml.sample")
|
||||
DATATYPES_CONF = getenv("DATATYPES_CONF", resource_path(__name__, "datatypes_conf.xml.sample"))
|
||||
|
||||
|
||||
def _parse_datatypes(datatype_conf_path: Union[str, "Traversable"]) -> Set[str]:
|
||||
|
||||
Reference in New Issue
Block a user