Skip to content

Commit d657626

Browse files
committed
style: ruff format — collapse AttributeError log call to single line
1 parent 2629ae5 commit d657626

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

mempalace/hooks_cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,7 @@ def hook_stop(data: dict, harness: str):
255255
try:
256256
silent_guard = MempalaceConfig().hook_silent_save
257257
except AttributeError as exc:
258-
_log(
259-
f"WARNING: could not read hook_silent_save: {exc}; defaulting to silent mode"
260-
)
258+
_log(f"WARNING: could not read hook_silent_save: {exc}; defaulting to silent mode")
261259
if not silent_guard:
262260
_output({})
263261
return

0 commit comments

Comments
 (0)