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 @@
"""趋势回调各交易所止损刷新市价加/平仓通过 app 模块能力探测)。"""
"""趋势回调:各交易所止损刷新,市价加/平仓(通过 app 模块能力探测)."""
from __future__ import annotations
import time
@@ -76,7 +76,7 @@ def trend_market_close(cfg: dict, exchange_symbol: str, direction: str, pos_qty:
def trend_replace_tpsl(cfg: dict, order_row: dict, stop_loss: float, take_profit: float) -> None:
"""趋势保本移交先撤条件单再挂保本止损 + 计划止盈与下单监控一致)。"""
"""趋势保本移交:先撤条件单再挂保本止损 + 计划止盈(与下单监控一致)."""
m = _m(cfg)
fn = getattr(m, "replace_active_monitor_tpsl_on_exchange", None)
if not callable(fn):