Fix backend code formatting for CI

- Update ruff pre-commit hook to v0.14.11
- Apply ruff format to pass CI checks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
maziggy
2026-01-11 07:30:22 +01:00
co-authored by Claude Opus 4.5
parent 169f2aaf08
commit d1d4152551
3 changed files with 10 additions and 10 deletions
@@ -133,9 +133,9 @@ class TestTimelapseTracking:
)
assert client._was_running is True
assert (
client._timelapse_during_print is True
), "Timelapse should be detected even when xcam is parsed before state"
assert client._timelapse_during_print is True, (
"Timelapse should be detected even when xcam is parsed before state"
)
@pytest.mark.asyncio
async def test_timelapse_flag_included_in_completion_callback(self):
@@ -330,9 +330,9 @@ class TestTimelapseTracking:
}
)
assert (
completion_data["timelapse_was_active"] is True
), "timelapse_was_active should be True when timelapse was in ipcam"
assert completion_data["timelapse_was_active"] is True, (
"timelapse_was_active should be True when timelapse was in ipcam"
)
class TestCallbackErrorHandling: