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
+9 -9
View File
@@ -1,9 +1,9 @@
"""Gate.io ccxt 构造ccxt 4.x 起类名由 gateio 改为 gate)。"""
from __future__ import annotations
import ccxt
def gate_ccxt_class():
"""返回 ccxt Gate 交易所类兼容旧版 gateio 名称)。"""
return getattr(ccxt, "gate", None) or ccxt.gateio
"""Gate.io ccxt 构造(ccxt 4.x 起类名由 gateio 改为 gate)."""
from __future__ import annotations
import ccxt
def gate_ccxt_class():
"""返回 ccxt Gate 交易所类(兼容旧版 gateio 名称)."""
return getattr(ccxt, "gate", None) or ccxt.gateio