From 0918e570197da7b7edb5b8bbaf38f195a4005878 Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Wed, 14 Sep 2022 16:58:17 +0200 Subject: [PATCH] linting fixes --- lib/galaxy/tool_util/linters/inputs.py | 11 +++++++++-- test/unit/tool_util/test_tool_linters.py | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/tool_util/linters/inputs.py b/lib/galaxy/tool_util/linters/inputs.py index 872fe94a3d82..456042e22869 100644 --- a/lib/galaxy/tool_util/linters/inputs.py +++ b/lib/galaxy/tool_util/linters/inputs.py @@ -2,8 +2,15 @@ import re from galaxy.util import string_as_bool -from ._util import get_code, is_datasource, is_valid_cheetah_placeholder -from ..parser.util import _parse_name, _prepare_argument +from galaxy.tool_util.linters._util import ( + get_code, + is_datasource, + is_valid_cheetah_placeholder, +) +from galaxy.tool_util.parser.util import ( + _parse_name, + _prepare_argument, +) FILTER_TYPES = [ "data_meta", diff --git a/test/unit/tool_util/test_tool_linters.py b/test/unit/tool_util/test_tool_linters.py index 6fd8e832141e..bd84e7d07ac6 100644 --- a/test/unit/tool_util/test_tool_linters.py +++ b/test/unit/tool_util/test_tool_linters.py @@ -1,5 +1,6 @@ import os import tempfile + import pytest from galaxy.tool_util.lint import (