Update python version used for pylint [Py310] (#86414)
* Update python version used for pylint linting [Py310] * Import Callable from collections.abc [Py310] * Use builtin anext [Py310]
This commit is contained in:
parent
45b4b0e990
commit
d7dda6bee5
11 changed files with 18 additions and 20 deletions
|
@ -2,11 +2,9 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
from collections.abc import Callable
|
||||
import logging
|
||||
|
||||
# Issue with Python 3.9.0 and 3.9.1 with collections.abc.Callable
|
||||
# https://bugs.python.org/issue42965
|
||||
from typing import Any, Callable, NamedTuple, Optional
|
||||
from typing import Any, NamedTuple, Optional
|
||||
|
||||
from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue