From 97a374909fa5aa9300ecc31beffdaca26af5ce99 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 03:15:02 +0000 Subject: [PATCH 1/3] chore(deps-dev): bump mypy from 1.10.1 to 1.11.0 Bumps [mypy](https://github.com/python/mypy) from 1.10.1 to 1.11.0. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 4bccf5dd0..a89604996 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -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 From a96488407795a644e8ecec67fddc2cefb80fd493 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 22 Jul 2024 06:57:46 +0200 Subject: [PATCH 2/3] chore: Remove now unused type ignore comment --- freqtrade/data/btanalysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/data/btanalysis.py b/freqtrade/data/btanalysis.py index eef415879..2895b4181 100644 --- a/freqtrade/data/btanalysis.py +++ b/freqtrade/data/btanalysis.py @@ -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"] From 152b2c6a00c3cad093022b944a4cd8d557cff8aa Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 22 Jul 2024 18:57:53 +0200 Subject: [PATCH 3/3] chore: Bump pre-commit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7d67c38cb..1f0439f22 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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