From 7630487ebb4ae771651d5fe6571ec24a53ca51a1 Mon Sep 17 00:00:00 2001 From: Nixevol Date: Mon, 1 Jun 2026 18:40:15 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B8=85=E7=90=86=E6=AE=8B=E7=95=99?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/routers/database.py | 1 - docs/project_context.md | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/api/routers/database.py b/app/api/routers/database.py index 4b1a270..f43d88f 100644 --- a/app/api/routers/database.py +++ b/app/api/routers/database.py @@ -1,6 +1,5 @@ import re from datetime import datetime -from pathlib import Path from typing import Optional import pandas as pd diff --git a/docs/project_context.md b/docs/project_context.md index fe98a8a..2022e6a 100644 --- a/docs/project_context.md +++ b/docs/project_context.md @@ -644,3 +644,9 @@ - `frontend/src/composables/clipboard.ts` centralizes browser clipboard writes with the existing hidden-textarea fallback. - API documentation, API Token management, and history detail log copying now reuse `writeClipboardText()` instead of each component carrying its own clipboard fallback. - Verification performed: `npm run build`, `.venv\Scripts\python.exe -m compileall app`, and `cargo check --manifest-path src-tauri\Cargo.toml` with a temporary sidecar placeholder all passed. Generated build output, Python caches, and temporary Tauri sidecar files were removed after verification. + +## 2026-06-01: Final cleanup pass + +- A follow-up static import scan removed the leftover unused `Path` import from `app/api/routers/database.py`. +- Final verification included `.venv\Scripts\python.exe -m compileall app`, `npm run build`, a lightweight Python AST unused-import scan, `.venv\Scripts\python.exe -m pip check`, and `npm audit --omit dev`. +- Remaining scan hits are intentional runtime/cleanup console messages or behaviorally different format helpers; no further low-risk cleanup item was found in the final pass.