diff --git a/lib/galaxy/tool_util/linters/inputs.py b/lib/galaxy/tool_util/linters/inputs.py index 9da89c514d3b..815c1a6d0142 100644 --- a/lib/galaxy/tool_util/linters/inputs.py +++ b/lib/galaxy/tool_util/linters/inputs.py @@ -3,6 +3,7 @@ import ast import re import warnings +from copy import deepcopy from typing import ( Iterator, Optional, @@ -575,7 +576,7 @@ def lint(cls, tool_source: "ToolSource", lint_ctx: "LintContext"): ) -FILTER_ALLOWED_ATTRIBUTES = dict(FILTER_REQUIRED_ATTRIBUTES) +FILTER_ALLOWED_ATTRIBUTES = deepcopy(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"])