From 51969d0b4a8413f234dd6b58218c74b729f19202 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Tue, 28 Apr 2026 08:38:00 +0800 Subject: [PATCH] Keep scan terminal lint clean after helper split The AI helper extraction left a stale private helper import in the scan terminal service. Removing it keeps CI aligned with the current call graph without changing runtime behavior. Constraint: CI runs ruff F401 as a blocking check. Confidence: high Scope-risk: narrow Reversibility: clean Tested: .\.codex-tmp\pydeps\bin\ruff.exe check . Not-tested: Full backend test suite; change is import-only. --- web/scan_terminal_service.py | 1 - 1 file changed, 1 deletion(-) diff --git a/web/scan_terminal_service.py b/web/scan_terminal_service.py index 15b6780e..40811f9c 100644 --- a/web/scan_terminal_service.py +++ b/web/scan_terminal_service.py @@ -29,7 +29,6 @@ from web.scan_city_ai_helpers import ( _extract_provider_stream_delta, _provider_response_meta, _safe_float, - _strip_incomplete_ai_sentence, _truncate_ai_text, )