From 19737c01328f3eb47cc6bb19161664585bec671f Mon Sep 17 00:00:00 2001 From: Peter Van Dyken Date: Mon, 29 Apr 2024 16:26:02 -0400 Subject: [PATCH] update return type of get_argv hook --- snakebids/bidsapp/hookspecs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snakebids/bidsapp/hookspecs.py b/snakebids/bidsapp/hookspecs.py index 6b83242a..a4503969 100644 --- a/snakebids/bidsapp/hookspecs.py +++ b/snakebids/bidsapp/hookspecs.py @@ -47,7 +47,7 @@ def add_cli_arguments( @hookspec(firstresult=True) -def get_argv(argv: list[str], config: dict[str, Any]) -> list[str]: # type: ignore +def get_argv(argv: list[str], config: dict[str, Any]) -> list[str] | None: """Set or modify the CLI parameters that will be parsed by the parser."""