chore: Remove now unused type ignore comment

This commit is contained in:
Matthias 2024-07-22 06:57:46 +02:00
parent 97a374909f
commit a964884077

View File

@ -185,7 +185,7 @@ def load_and_merge_backtest_result(strategy_name: str, filename: Path, results:
"""
bt_data = load_backtest_stats(filename)
k: Literal["metadata", "strategy"]
for k in ("metadata", "strategy"): # type: ignore
for k in ("metadata", "strategy"):
results[k][strategy_name] = bt_data[k][strategy_name]
results["metadata"][strategy_name]["filename"] = filename.stem
comparison = bt_data["strategy_comparison"]