chore(cleansweep): 修复重复import+清理过时注释——25个文件56处重复import已修复,5个辅助模块注释更新

- run_all_tests.py: 移除未使用的write_holding_strategy import
- strategy_tree.py: 移除重复import行(21-22行完全重复)
- 25个文件的模块顶层重复import已清理(跳过try/except lazy loading)
- holdings_reconciliation/clean_watchlist/branch_scanner/advice_reconciliation/prune_branches: 注释从decisions.json更新为holding_strategies表
- 关键脚本语法全部通过
This commit is contained in:
xxm
2026-08-20 11:46:48 +08:00
parent c68f987653
commit 80eb051e6f
2 changed files with 0 additions and 9 deletions
-1
View File
@@ -257,7 +257,6 @@ def get_prices_batch(codes, max_age_minutes=5):
# 2. 缺失的调 API
if need_api:
try:
import subprocess, json
r = subprocess.run(
[sys.executable, str(SCRIPT_DIR / "stock_quote.py")] + need_api,
capture_output=True, text=True, timeout=30