mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Move mypy override for device_registry (#78493)
This commit is contained in:
parent
08449dc1bc
commit
0a13fe99d2
@ -17,6 +17,7 @@ homeassistant.helpers.area_registry
|
|||||||
homeassistant.helpers.condition
|
homeassistant.helpers.condition
|
||||||
homeassistant.helpers.debounce
|
homeassistant.helpers.debounce
|
||||||
homeassistant.helpers.deprecation
|
homeassistant.helpers.deprecation
|
||||||
|
homeassistant.helpers.device_registry
|
||||||
homeassistant.helpers.discovery
|
homeassistant.helpers.discovery
|
||||||
homeassistant.helpers.dispatcher
|
homeassistant.helpers.dispatcher
|
||||||
homeassistant.helpers.entity
|
homeassistant.helpers.entity
|
||||||
|
@ -21,8 +21,6 @@ from .debounce import Debouncer
|
|||||||
from .frame import report
|
from .frame import report
|
||||||
from .typing import UNDEFINED, UndefinedType
|
from .typing import UNDEFINED, UndefinedType
|
||||||
|
|
||||||
# mypy: disallow_any_generics
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
|
|
||||||
|
3
mypy.ini
3
mypy.ini
@ -63,6 +63,9 @@ disallow_any_generics = true
|
|||||||
[mypy-homeassistant.helpers.deprecation]
|
[mypy-homeassistant.helpers.deprecation]
|
||||||
disallow_any_generics = true
|
disallow_any_generics = true
|
||||||
|
|
||||||
|
[mypy-homeassistant.helpers.device_registry]
|
||||||
|
disallow_any_generics = true
|
||||||
|
|
||||||
[mypy-homeassistant.helpers.discovery]
|
[mypy-homeassistant.helpers.discovery]
|
||||||
disallow_any_generics = true
|
disallow_any_generics = true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user