Normalize fullwidth punctuation to ASCII across codebase.

Add scripts/normalize_ambiguous_unicode.py; fix corrupted patch_instance_theme_templates.py. Preserves curly quotes in string literals; removes Git homoglyph warnings on .env.example.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 23:42:26 +08:00
parent aaa72c7961
commit b733e551a0
392 changed files with 71522 additions and 71369 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
"""中控本机 CPU / 内存 / 磁盘 / 网络快照监控区服务器状态条)。"""
"""中控:本机 CPU / 内存 / 磁盘 / 网络快照(监控区服务器状态条)."""
from __future__ import annotations
import os
@@ -37,7 +37,7 @@ def get_host_status() -> dict[str, Any]:
except ImportError:
return {
"ok": False,
"msg": "未安装 psutil请在 manual-trading-hub 环境执行 pip install psutil",
"msg": "未安装 psutil,请在 manual-trading-hub 环境执行 pip install psutil",
}
now = time.time()