Migrate legacy typehints in core to PEP-526 (#26403)
* Migrate legacy typehints in core to PEP-526 * Fix one type
This commit is contained in:
1 parent
2dc90be94f
commit
2f0eb07624
45 files changed
+221
-263
No files matched your search
@@ -15,7 +15,7 @@ from homeassistant.util import dt as dt_util
|
||||
# mypy: allow-untyped-calls, allow-untyped-defs, no-check-untyped-defs
|
||||
# mypy: no-warn-return-any
|
||||
|
||||
BENCHMARKS = {} # type: Dict[str, Callable]
|
||||
BENCHMARKS: Dict[str, Callable] = {}
|
||||
|
||||
|
||||
def run(args):
|
||||
|
||||
Reference in new issue
Block a user