Add first batch of Ruff PYI rules (#115100)

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
This commit is contained in:
Sid
2024-04-07 23:30:50 +02:00
committed by GitHub
parent 569f54d8e3
commit 8e98ba7312
27 changed files with 44 additions and 55 deletions

View File

@@ -3,7 +3,7 @@
from collections.abc import Mapping
from enum import Enum
from functools import partial
from typing import Any, TypeVar
from typing import Any
import homeassistant.core
@@ -14,8 +14,6 @@ from .deprecation import (
dir_with_deprecated_constants,
)
_DataT = TypeVar("_DataT")
GPSType = tuple[float, float]
ConfigType = dict[str, Any]
DiscoveryInfoType = dict[str, Any]