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:
parent
77654da341
commit
fde128d66c
11 changed files with 25 additions and 19 deletions
|
@ -598,8 +598,7 @@ def deprecated(
|
|||
else:
|
||||
# Unclear when it is None, but it happens, so let's guard.
|
||||
# https://github.com/home-assistant/home-assistant/issues/24982
|
||||
# type ignore/unreachable: https://github.com/python/typeshed/pull/3137
|
||||
module_name = __name__ # type: ignore
|
||||
module_name = __name__
|
||||
|
||||
if replacement_key and invalidation_version:
|
||||
warning = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue