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:
@@ -9,7 +9,7 @@ repos:
|
|||||||
# stages: [push]
|
# stages: [push]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: "v1.10.1"
|
rev: "v1.11.0"
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
exclude: build_helpers
|
exclude: build_helpers
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ def load_and_merge_backtest_result(strategy_name: str, filename: Path, results:
|
|||||||
"""
|
"""
|
||||||
bt_data = load_backtest_stats(filename)
|
bt_data = load_backtest_stats(filename)
|
||||||
k: Literal["metadata", "strategy"]
|
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[k][strategy_name] = bt_data[k][strategy_name]
|
||||||
results["metadata"][strategy_name]["filename"] = filename.stem
|
results["metadata"][strategy_name]["filename"] = filename.stem
|
||||||
comparison = bt_data["strategy_comparison"]
|
comparison = bt_data["strategy_comparison"]
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
coveralls==4.0.1
|
coveralls==4.0.1
|
||||||
ruff==0.5.4
|
ruff==0.5.4
|
||||||
mypy==1.10.1
|
mypy==1.11.0
|
||||||
pre-commit==3.7.1
|
pre-commit==3.7.1
|
||||||
pytest==8.3.1
|
pytest==8.3.1
|
||||||
pytest-asyncio==0.23.8
|
pytest-asyncio==0.23.8
|
||||||
|
|||||||
Reference in New Issue
Block a user