Skip to content

Commit 2e481f2

Browse files
fix: lint
1 parent 14b1f92 commit 2e481f2

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

paperbanana/agents/critic.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ async def run(
8181
prompt=prompt,
8282
)
8383
except Exception:
84-
logger.warning(
85-
"Prompt recording failed", agent=self.agent_name, label=prompt_label
86-
)
84+
logger.warning("Prompt recording failed", agent=self.agent_name, label=prompt_label)
8785

8886
logger.info("Running critic agent", image_path=image_path)
8987

paperbanana/core/prompt_recorder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ def record(self, *, agent_name: str, label: Optional[str], prompt: str) -> Path:
6161
raise
6262

6363
return candidate
64-

tests/test_pipeline/test_save_prompts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,3 @@ async def test_prompts_not_saved_when_disabled(tmp_path: Path):
143143

144144
run_dir = _get_single_run_dir(out_dir)
145145
assert not (run_dir / "prompts").exists()
146-

0 commit comments

Comments
 (0)