diff --git a/lib/galaxy/tool_util/linters/inputs.py b/lib/galaxy/tool_util/linters/inputs.py index 815c1a6d0142..9da89c514d3b 100644 --- a/lib/galaxy/tool_util/linters/inputs.py +++ b/lib/galaxy/tool_util/linters/inputs.py @@ -3,7 +3,6 @@ import ast import re import warnings -from copy import deepcopy from typing import ( Iterator, Optional, @@ -576,7 +575,7 @@ def lint(cls, tool_source: "ToolSource", lint_ctx: "LintContext"): ) -FILTER_ALLOWED_ATTRIBUTES = deepcopy(FILTER_REQUIRED_ATTRIBUTES) +FILTER_ALLOWED_ATTRIBUTES = dict(FILTER_REQUIRED_ATTRIBUTES) FILTER_ALLOWED_ATTRIBUTES["static_value"].append("keep") FILTER_ALLOWED_ATTRIBUTES["regexp"].append("keep") FILTER_ALLOWED_ATTRIBUTES["data_meta"].extend(["column", "multiple", "separator"])