Upgrade mypy to 0.730, address raised issues (#26959)

https://mypy-lang.blogspot.com/2019/09/mypy-730-released.html
This commit is contained in:
Ville Skyttä
2019-09-27 22:57:59 +03:00
committed by GitHub
parent 77654da341
commit fde128d66c
11 changed files with 25 additions and 19 deletions

View File

@@ -144,8 +144,8 @@ def async_loop_exception_handler(_: Any, context: Dict) -> None:
if exception:
kwargs["exc_info"] = (type(exception), exception, exception.__traceback__)
_LOGGER.error( # type: ignore
"Error doing job: %s", context["message"], **kwargs
_LOGGER.error(
"Error doing job: %s", context["message"], **kwargs # type: ignore
)