Update typing 14 (#48078)

This commit is contained in:
Marc Mueller 2021-03-18 15:08:35 +01:00 committed by GitHub
parent 7d196abc4a
commit dcca29ef68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 614 additions and 521 deletions

View file

@ -1,7 +1,8 @@
"""All constants related to the ZHA component."""
from __future__ import annotations
import enum
import logging
from typing import List
import bellows.zigbee.application
from zigpy.config import CONF_DEVICE_PATH # noqa: F401 # pylint: disable=unused-import
@ -203,7 +204,7 @@ class RadioType(enum.Enum):
)
@classmethod
def list(cls) -> List[str]:
def list(cls) -> list[str]:
"""Return a list of descriptions."""
return [e.description for e in RadioType]