From a29bb7a970f33fd14add77869b1d0891eece2322 Mon Sep 17 00:00:00 2001 From: Wytamma Wirth Date: Wed, 7 Feb 2024 21:42:43 +1100 Subject: [PATCH] :art: require kwargs in CLI --- snk/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snk/cli/cli.py b/snk/cli/cli.py index 5eb47cb..85ce661 100644 --- a/snk/cli/cli.py +++ b/snk/cli/cli.py @@ -32,7 +32,7 @@ class CLI(DynamicTyper): >>> CLI(Path('/path/to/workflow')) """ - def __init__(self, workflow_dir_path: Path = None, pipeline_dir_path: Path = None, snk_config: SnkConfig = None) -> None: + def __init__(self, workflow_dir_path: Path = None, *, pipeline_dir_path: Path = None, snk_config: SnkConfig = None) -> None: if pipeline_dir_path is not None: # raise a deprecation warning import warnings