Move mypy override for device_registry (#78493)

This commit is contained in:
epenet 2022-09-15 11:00:25 +02:00 committed by GitHub
parent 08449dc1bc
commit 0a13fe99d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,7 @@ homeassistant.helpers.area_registry
homeassistant.helpers.condition
homeassistant.helpers.debounce
homeassistant.helpers.deprecation
homeassistant.helpers.device_registry
homeassistant.helpers.discovery
homeassistant.helpers.dispatcher
homeassistant.helpers.entity

View File

@ -21,8 +21,6 @@ from .debounce import Debouncer
from .frame import report
from .typing import UNDEFINED, UndefinedType
# mypy: disallow_any_generics
if TYPE_CHECKING:
from homeassistant.config_entries import ConfigEntry

View File

@ -63,6 +63,9 @@ disallow_any_generics = true
[mypy-homeassistant.helpers.deprecation]
disallow_any_generics = true
[mypy-homeassistant.helpers.device_registry]
disallow_any_generics = true
[mypy-homeassistant.helpers.discovery]
disallow_any_generics = true