style(tests): ruff format 修复尾随空行(CI ruff format --check 失败)

This commit is contained in:
GitHub
2026-07-10 15:17:00 +08:00
parent d84a08b7f2
commit a8c035010e
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -358,4 +358,3 @@ def test_apply_trades_timestamp_vs_int_df() -> None:
# 修复前交易被丢弃、持仓为 0 # 修复前交易被丢弃、持仓为 0
assert tracker.positions["size"].iloc[0] == 100 assert tracker.positions["size"].iloc[0] == 100
-1
View File
@@ -129,4 +129,3 @@ class TestRebalanceEngine:
result = engine.run(_make_market(), start_date=20240101, end_date=20240430) result = engine.run(_make_market(), start_date=20240101, end_date=20240430)
md = result.performance["max_drawdown"] md = result.performance["max_drawdown"]
assert 0.0 <= md <= 1.0, f"max_drawdown={md} 应落在 [0,1]" assert 0.0 <= md <= 1.0, f"max_drawdown={md} 应落在 [0,1]"