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 注入 ccxt 实现)。"""
"""交易所策略适配器接口(各所 app 注入 ccxt 实现)."""
from __future__ import annotations
from typing import Any, Optional, Protocol
@@ -14,7 +14,7 @@ class StrategyExchangeAdapter(Protocol):
def get_mark_price(self, symbol: str) -> Optional[float]: ...
def get_position(self, exchange_symbol: str, direction: str) -> dict[str, Any]:
"""返回 {contracts, entry_price, leverage?}"""
"""返回 {contracts, entry_price, leverage?}."""
...
def amount_to_precision(self, exchange_symbol: str, amount: float) -> Optional[float]: ...