Skip to content

Commit cecc124

Browse files
committed
formatting
Signed-off-by: Lennard Clicqué <lennard.clicque@fau.de>
1 parent 5017644 commit cecc124

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

backend/modules/include_project.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ def applies_after(self) -> bool:
4949
return False
5050

5151
def process_prompt(self, prompt_data: PromptData) -> PromptData:
52-
query_text = prompt_data.input.user_message + prompt_data.input.source_code
52+
query_text = (
53+
prompt_data.input.user_message + prompt_data.input.source_code
54+
)
5355
reset = getattr(prompt_data, "reset", False)
5456

5557
if reset:

backend/modules/internet_search.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ def applies_after(self) -> bool:
3838

3939
def process_prompt(self, prompt_data: PromptData) -> dict:
4040
print(prompt_data)
41-
prompt = prompt_data.input.user_message + "\n" + prompt_data.input.source_code
41+
prompt = (
42+
prompt_data.input.user_message
43+
+ "\n"
44+
+ prompt_data.input.source_code
45+
)
4246
args = cli.parse_arguments()
4347
used_links = args.use_links
4448

backend/modules/show_control_flow.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@ class ShowControlFlow(ModuleBase):
1717
Zeitstempel versehen und im Verzeichnis `outputs/control_flow/` gespeichert.
1818
"""
1919

20-
preprocessing_order = (
21-
75
22-
)
20+
preprocessing_order = 75
2321

24-
postprocessing_order = (
25-
75
26-
)
22+
postprocessing_order = 75
2723

2824
def applies_before(self) -> bool:
2925
return True

0 commit comments

Comments
 (0)