Skip to content

Commit 8d8a0b6

Browse files
patnikoCopilot
andcommitted
style: fix ruff formatting in Python test_client.py
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7a753eb commit 8d8a0b6

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

python/test_client.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,12 @@ async def mock_request(method, params):
220220
def edit_file(params) -> str:
221221
return "ok"
222222

223-
await client.create_session({
224-
"tools": [edit_file],
225-
"excluded_tools": ["edit_file", "other_tool"],
226-
})
223+
await client.create_session(
224+
{
225+
"tools": [edit_file],
226+
"excluded_tools": ["edit_file", "other_tool"],
227+
}
228+
)
227229
excluded = captured["session.create"]["excludedTools"]
228230
assert excluded.count("edit_file") == 1
229231
assert "other_tool" in excluded

0 commit comments

Comments
 (0)