mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Activate mypy for Proxmox VE (#53955)
This commit is contained in:
parent
e5f884efd1
commit
9c29d9f8eb
@ -1,4 +1,6 @@
|
||||
"""Support for Proxmox VE."""
|
||||
from __future__ import annotations
|
||||
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
|
||||
@ -132,7 +134,8 @@ async def async_setup(hass: HomeAssistant, config: dict):
|
||||
|
||||
await hass.async_add_executor_job(build_client)
|
||||
|
||||
coordinators = hass.data[DOMAIN][COORDINATORS] = {}
|
||||
coordinators: dict[str, dict[str, dict[int, DataUpdateCoordinator]]] = {}
|
||||
hass.data[DOMAIN][COORDINATORS] = coordinators
|
||||
|
||||
# Create a coordinator for each vm/container
|
||||
for host_config in config[DOMAIN]:
|
||||
|
3
mypy.ini
3
mypy.ini
@ -1592,9 +1592,6 @@ ignore_errors = true
|
||||
[mypy-homeassistant.components.profiler.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.proxmoxve.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.rachio.*]
|
||||
ignore_errors = true
|
||||
|
||||
|
@ -123,7 +123,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
||||
"homeassistant.components.plum_lightpad.*",
|
||||
"homeassistant.components.point.*",
|
||||
"homeassistant.components.profiler.*",
|
||||
"homeassistant.components.proxmoxve.*",
|
||||
"homeassistant.components.rachio.*",
|
||||
"homeassistant.components.ring.*",
|
||||
"homeassistant.components.rpi_power.*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user