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
+3 -3
View File
@@ -1,6 +1,6 @@
"""
OKX 挂单聚合子代理本地副本避免依赖仓库根 PYTHONPATH)。
普通委托 + 算法单 conditional / oco / trigger
OKX 挂单聚合(子代理本地副本,避免依赖仓库根 PYTHONPATH).
普通委托 + 算法单 conditional / oco / trigger.
"""
from __future__ import annotations
@@ -15,7 +15,7 @@ def _order_dedupe_key(order: dict) -> str:
def fetch_okx_all_open_orders(ex, exchange_symbol: str) -> list[dict]:
"""合并 OKX 普通挂单与算法挂单去重)。"""
"""合并 OKX 普通挂单与算法挂单(去重)."""
if not exchange_symbol:
return []
ex.load_markets()