Ruff: Add and fix UP rules

This commit is contained in:
Josh Wu
2026-01-01 03:07:06 +08:00
parent 8e28f4e159
commit 3f643de4c1
102 changed files with 922 additions and 999 deletions

View File

@@ -87,7 +87,7 @@ async def test_update_track_title(gmcs_context):
await gmcs_context.devices[0].notify_subscribers(
gmcs_context.server.track_title_characteristic,
value="My Song".encode(),
value=b"My Song",
)
assert (await asyncio.wait_for(state.get(), TIMEOUT)) == "My Song"