refactor: reorganize import statements and improve code formatting across multiple files

This commit is contained in:
Abhimanyu Saharan
2026-02-13 16:22:00 +05:30
parent ebb9c659d2
commit 9a5964a31c
9 changed files with 16 additions and 13 deletions

View File

@@ -10,8 +10,8 @@ from uuid import uuid4
import pytest
from app.api import boards
import app.services.board_lifecycle as board_lifecycle
from app.api import boards
from app.models.boards import Board
from app.services.openclaw.gateway_rpc import OpenClawGatewayError

View File

@@ -18,6 +18,6 @@ def test_heartbeat_templates_fit_in_injected_context_limit() -> None:
)
for name in targets:
size = (TEMPLATES_DIR / name).stat().st_size
assert size <= HEARTBEAT_CONTEXT_LIMIT, (
f"{name} is {size} chars (limit {HEARTBEAT_CONTEXT_LIMIT})"
)
assert (
size <= HEARTBEAT_CONTEXT_LIMIT
), f"{name} is {size} chars (limit {HEARTBEAT_CONTEXT_LIMIT})"