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:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user