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 @@
"""中控开仓计划进行中 / 历史归档 / 胜率统计"""
"""中控开仓计划:进行中 / 历史归档 / 胜率统计."""
from __future__ import annotations
@@ -338,7 +338,7 @@ def resolve_stats_date_bounds(
date_from: str = "",
date_to: str = "",
) -> tuple[str | None, str | None, str]:
"""返回 (date_from, date_to, label)all 时 bounds 为 None"""
"""返回 (date_from, date_to, label);all 时 bounds 为 None."""
p = (period or "all").strip().lower() or "all"
today = _today_iso()
if p == "all":