From 9cc88454ef137e178eed25ca53083ae554ad5b15 Mon Sep 17 00:00:00 2001 From: Alon Grinberg Dana Date: Thu, 31 Oct 2024 11:31:26 +0200 Subject: [PATCH] Minor: Added a doscstring to common run_minimal() --- tests/common.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/common.py b/tests/common.py index 57046196..304fb4e6 100644 --- a/tests/common.py +++ b/tests/common.py @@ -19,7 +19,18 @@ def run_minimal(project: Optional[str] = None, iteration: Optional[int] = None, set_paths: bool = False, ) -> T3: - """A helper function for running the minimal example""" + """ + A helper function for running the minimal example. + + Args: + project (str, optional): The project name. + project_directory (str, optional): The project directory. + iteration (int, optional): The iteration number. + set_paths (bool, optional): Whether to set the paths. + + Returns: + T3: The T3 object. + """ minimal_input = os.path.join(EXAMPLES_BASE_PATH, 'minimal', 'input.yml') input_dict = read_yaml_file(path=minimal_input) input_dict['verbose'] = 10