From 1cf6bad1968626b5e2e944d595a76b3dc8de46f8 Mon Sep 17 00:00:00 2001 From: Markus Binsteiner Date: Thu, 18 Jul 2024 09:33:08 +0200 Subject: [PATCH] chore: fixed linting issues --- scripts/documentation/gen_api_doc_pages.py | 6 +++--- src/kiara/models/module/pipeline/pipeline.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/documentation/gen_api_doc_pages.py b/scripts/documentation/gen_api_doc_pages.py index 09f915eb2..a57c08e93 100644 --- a/scripts/documentation/gen_api_doc_pages.py +++ b/scripts/documentation/gen_api_doc_pages.py @@ -22,7 +22,7 @@ elif parts[-1] == "__main__": continue - nav[parts] = doc_path # + nav[parts] = doc_path with mkdocs_gen_files.open(full_doc_path, "w") as fd: ident = ".".join(parts) @@ -30,5 +30,5 @@ mkdocs_gen_files.set_edit_path(full_doc_path, path) -with mkdocs_gen_files.open("reference/SUMMARY.md", "w") as nav_file: # - nav_file.writelines(nav.build_literate_nav()) # +with mkdocs_gen_files.open("reference/SUMMARY.md", "w") as nav_file: + nav_file.writelines(nav.build_literate_nav()) diff --git a/src/kiara/models/module/pipeline/pipeline.py b/src/kiara/models/module/pipeline/pipeline.py index f846994d1..1cbccce1a 100644 --- a/src/kiara/models/module/pipeline/pipeline.py +++ b/src/kiara/models/module/pipeline/pipeline.py @@ -569,9 +569,9 @@ def set_step_outputs( input_ref.value_name ] = outputs[field_name] - for step_id, step_inputs in inputs_to_set.items(): + for _step_id, step_inputs in inputs_to_set.items(): changed_step_fields = self._set_step_inputs( - step_id=step_id, inputs=step_inputs + step_id=_step_id, inputs=step_inputs ) dpath.merge(result, changed_step_fields) # type: ignore