From d36aeb71ec917475ec84f537d035a0ee5d194a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9r=C3=A9nice=20Batut?= Date: Tue, 31 Oct 2023 15:02:31 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Nicola Soranzo --- bin/extract_galaxy_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/extract_galaxy_tools.py b/bin/extract_galaxy_tools.py index bd2124c2..bf9afd79 100644 --- a/bin/extract_galaxy_tools.py +++ b/bin/extract_galaxy_tools.py @@ -142,7 +142,7 @@ def check_categories(ts_categories, ts_cat): return bool(set(ts_cat) & set(ts_cats)) -def get_tool_metadata(tool: ContentFile, repo: Repository) -> : +def get_tool_metadata(tool: ContentFile, repo: Repository) -> Optional[Dict[str, Any]]: """ Get tool metadata from the .shed.yaml, requirements in the macros or xml file, bio.tools information if available in the macros or xml, EDAM