From e18baca7365a6a1841850a0b4d13012e09cd1292 Mon Sep 17 00:00:00 2001 From: jfrery Date: Wed, 17 Apr 2024 16:47:40 +0200 Subject: [PATCH] chore: fix pcc --- script/actions_utils/refresh_use_cases_list.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/actions_utils/refresh_use_cases_list.py b/script/actions_utils/refresh_use_cases_list.py index 48cdd9f9c..6745b5d3c 100644 --- a/script/actions_utils/refresh_use_cases_list.py +++ b/script/actions_utils/refresh_use_cases_list.py @@ -1,3 +1,5 @@ +"""Updates or checks the run_one_use_case_example.yaml workflow with available use cases.""" + import argparse from pathlib import Path @@ -62,6 +64,7 @@ def update_section(lines, start_header, end_header, new_content, indent): def main(file_to_update, check_mode=False): + """Updates or checks the specified file with the current list of use cases and their paths.""" use_case_paths = find_use_cases_with_makefile() with open(file_to_update, "r", encoding="utf-8") as file: