Remove nest legacy from mypy ignored modules (#65421)
* Remove nest legacy from mypy ignored modules * Set type-ignore inside the files Co-authored-by: epenet <epenet@users.noreply.github.com>pull/65493/head
parent
f3a89de71f
commit
8325188ed2
|
@ -1,4 +1,5 @@
|
||||||
"""Support for Nest devices."""
|
"""Support for Nest devices."""
|
||||||
|
# mypy: ignore-errors
|
||||||
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
import logging
|
import logging
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
"""Support for Nest Thermostat binary sensors."""
|
"""Support for Nest Thermostat binary sensors."""
|
||||||
|
# mypy: ignore-errors
|
||||||
|
|
||||||
from itertools import chain
|
from itertools import chain
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
"""Support for Nest Cameras."""
|
"""Support for Nest Cameras."""
|
||||||
|
# mypy: ignore-errors
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
"""Legacy Works with Nest climate implementation."""
|
"""Legacy Works with Nest climate implementation."""
|
||||||
|
# mypy: ignore-errors
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from nest.nest import APIError
|
from nest.nest import APIError
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
"""Local Nest authentication for the legacy api."""
|
"""Local Nest authentication for the legacy api."""
|
||||||
|
# mypy: ignore-errors
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from http import HTTPStatus
|
from http import HTTPStatus
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
"""Support for Nest Thermostat sensors for the legacy API."""
|
"""Support for Nest Thermostat sensors for the legacy API."""
|
||||||
|
# mypy: ignore-errors
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from homeassistant.components.sensor import SensorDeviceClass, SensorEntity
|
from homeassistant.components.sensor import SensorDeviceClass, SensorEntity
|
||||||
|
|
3
mypy.ini
3
mypy.ini
|
@ -2136,9 +2136,6 @@ ignore_errors = true
|
||||||
[mypy-homeassistant.components.mobile_app.*]
|
[mypy-homeassistant.components.mobile_app.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
[mypy-homeassistant.components.nest.legacy.*]
|
|
||||||
ignore_errors = true
|
|
||||||
|
|
||||||
[mypy-homeassistant.components.netgear.*]
|
[mypy-homeassistant.components.netgear.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
||||||
"homeassistant.components.meteo_france.*",
|
"homeassistant.components.meteo_france.*",
|
||||||
"homeassistant.components.minecraft_server.*",
|
"homeassistant.components.minecraft_server.*",
|
||||||
"homeassistant.components.mobile_app.*",
|
"homeassistant.components.mobile_app.*",
|
||||||
"homeassistant.components.nest.legacy.*",
|
|
||||||
"homeassistant.components.netgear.*",
|
"homeassistant.components.netgear.*",
|
||||||
"homeassistant.components.nilu.*",
|
"homeassistant.components.nilu.*",
|
||||||
"homeassistant.components.nzbget.*",
|
"homeassistant.components.nzbget.*",
|
||||||
|
|
Loading…
Reference in New Issue