Merge pull request #9418 from freqtrade/dependabot/pip/develop/mypy-1.7.0

Bump mypy from 1.6.1 to 1.7.0
This commit is contained in:
Matthias
2023-11-13 19:28:46 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -1954,7 +1954,7 @@ class Exchange:
results = await asyncio.gather(*input_coro, return_exceptions=True)
for res in results:
if isinstance(res, Exception):
if isinstance(res, BaseException):
logger.warning(f"Async code raised an exception: {repr(res)}")
if raise_:
raise

View File

@@ -8,7 +8,7 @@
coveralls==3.3.1
ruff==0.1.5
mypy==1.6.1
mypy==1.7.0
pre-commit==3.5.0
pytest==7.4.3
pytest-asyncio==0.21.1