code-to10 v6 A14 batch2: test E402/F401 cleanup plus touched-file residual E,F cleanup

(cherry picked from commit 1db02545f74c96b3b92be4fc32954659cec1f814)

Reconcile-conflict: A14b E402 imports referencing cloud.handler_core (does not exist here; core methods live in server.py) — kept HEAD imports with incoming's noqa: E402 markers, dropped the unused core_mod import (verified unused elsewhere in both files).
This commit is contained in:
host committed 2026-11-04 21:03:33 +00:00
1 parent 7598574f81
commit e579e5131e
26 files changed
+51 -80

No files matched your search

+2 -4
View File
@@ -29,13 +29,12 @@ from unittest import mock
REPO_ROOT = Path(__file__).resolve().parents[2]
sys.path.insert(0, str(REPO_ROOT))
import cloud.server as server_mod
from cloud.server import (
from cloud.server import ( # noqa: E402
CloudControlPlaneHandler,
_auth_store,
init_db,
)
from cloud.sub2api import Sub2apiError as _Sub2apiError
from cloud.sub2api import Sub2apiError as _Sub2apiError # noqa: E402
def _handler(db_path, upload_dir=None):
@@ -459,7 +458,6 @@ class TodosAutomationLoopTestCase(_Base):
self._project()
self._task()
from cloud.audit_loop_wiring import (
ensure_loop_state_table,
save_loop_state,
)
from cloud.audit_loop_driver import LoopState