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-03 02:49:26 +00:00
1 parent bd55599859
commit 488aedbcad
26 files changed
+51 -80

No files matched your search

+3 -5
View File
@@ -16,12 +16,10 @@ and emit-failure logic under test stays real).
"""
import io
import json
import os
import sqlite3
import sys
import tempfile
import time
import unittest
import urllib.error
from pathlib import Path
@@ -31,9 +29,9 @@ 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.handler_fullauto import FullAutoError, _full_auto_branch_protection_ok, _full_auto_github_request
from cloud.server import (
import cloud.server as server_mod # noqa: E402
from cloud.handler_fullauto import FullAutoError, _full_auto_branch_protection_ok, _full_auto_github_request # noqa: E402
from cloud.server import ( # noqa: E402
CloudControlPlaneHandler,
init_db,
)