From daa25ec4cf3f8bb486f898214a42f5dccf3d8f7b Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Tue, 30 Jul 2024 15:25:47 +0200 Subject: [PATCH] typing fix --- planemo/linters/conda_requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planemo/linters/conda_requirements.py b/planemo/linters/conda_requirements.py index 9fd99402a..6c1c4742e 100644 --- a/planemo/linters/conda_requirements.py +++ b/planemo/linters/conda_requirements.py @@ -64,7 +64,7 @@ def lint(cls, tool_source: "ToolSource", lint_ctx: "LintContext"): lint_ctx.warn(message, linter=cls.name(), node=requirements_node) -def _requirements_conda_targets(tool_source: "ToolSource") -> Generator["CondaTarget"]: +def _requirements_conda_targets(tool_source: "ToolSource") -> Generator["CondaTarget", None, None]: requirements, *_ = tool_source.parse_requirements_and_containers() for requirement in requirements: conda_target = requirement_to_conda_targets(requirement)