Skip to content

Commit 693b068

Browse files
committed
Fix _code_block function format for consistent trailing newline
1 parent 6944a7f commit 693b068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

evaluation_function/evaluation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _run_code(code: str, stdin: str) -> tuple[str, str, bool, list[Image.Image]]
138138

139139

140140
def _code_block(label: str, content: str) -> str:
141-
return f"{label}:\n```\n{content}\n```"
141+
return f"{label}:\n```\n{content}\n```\n"
142142

143143

144144
def _upload_plots(images: list[Image.Image]) -> list[str]:

0 commit comments

Comments
 (0)