ci/lint: apply ruff format and import sort fixes

This commit is contained in:
2026-07-15 22:09:52 +08:00
parent 074a3313ce
commit d267a5f869
13 changed files with 28 additions and 45 deletions
+1 -4
View File
@@ -59,10 +59,7 @@ def test_create_param_encode_omits_defaults() -> None:
def test_stream_event_decode() -> None:
raw = (
b'{"type":"response.output_text.delta","item_id":"msg_1",'
b'"output_index":0,"content_index":0,"delta":"hel"}'
)
raw = b'{"type":"response.output_text.delta","item_id":"msg_1","output_index":0,"content_index":0,"delta":"hel"}'
event = msgspec.json.decode(raw, type=ResponseStreamEvent)
assert event.type == "response.output_text.delta"
assert event.delta == "hel"