Skip to content

Commit e62a6f6

Browse files
committed
style: ruff format memory_tools.py
1 parent cfc9a09 commit e62a6f6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/hawk/memory_tools.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ def __init__(self, client: Any, *, session_id: str | None = None) -> None:
4949
self._session_id = session_id
5050
self._local_memories: list[dict[str, str]] = []
5151
self._backend: MemoryBackend | None = (
52-
client
53-
if hasattr(client, "remember") and hasattr(client, "recall")
54-
else None
52+
client if hasattr(client, "remember") and hasattr(client, "recall") else None
5553
)
5654

5755
def record_memory(

0 commit comments

Comments
 (0)