Merge pull request #10445 from freqtrade/dependabot/pip/develop/mypy-1.11.0

chore(deps-dev): bump mypy from 1.10.1 to 1.11.0
This commit is contained in:
Matthias
2024-07-22 20:50:02 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ repos:
# stages: [push]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.1"
rev: "v1.11.0"
hooks:
- id: mypy
exclude: build_helpers

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"]

View File

@@ -8,7 +8,7 @@
coveralls==4.0.1
ruff==0.5.4
mypy==1.10.1
mypy==1.11.0
pre-commit==3.7.1
pytest==8.3.1
pytest-asyncio==0.23.8