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>
This commit is contained in:
epenet
2022-02-03 06:57:44 +01:00
committed by GitHub
co-authored by epenet
parent f3a89de71f
commit 8325188ed2
8 changed files with 11 additions and 4 deletions
@@ -1,4 +1,5 @@
"""Support for Nest devices."""
# mypy: ignore-errors
from datetime import datetime, timedelta
import logging
@@ -1,4 +1,6 @@
"""Support for Nest Thermostat binary sensors."""
# mypy: ignore-errors
from itertools import chain
import logging
@@ -1,4 +1,6 @@
"""Support for Nest Cameras."""
# mypy: ignore-errors
from __future__ import annotations
from datetime import timedelta
@@ -1,4 +1,6 @@
"""Legacy Works with Nest climate implementation."""
# mypy: ignore-errors
import logging
from nest.nest import APIError
@@ -1,4 +1,6 @@
"""Local Nest authentication for the legacy api."""
# mypy: ignore-errors
import asyncio
from functools import partial
from http import HTTPStatus
@@ -1,4 +1,6 @@
"""Support for Nest Thermostat sensors for the legacy API."""
# mypy: ignore-errors
import logging
from homeassistant.components.sensor import SensorDeviceClass, SensorEntity
-3
View File
@@ -2136,9 +2136,6 @@ ignore_errors = true
[mypy-homeassistant.components.mobile_app.*]
ignore_errors = true
[mypy-homeassistant.components.nest.legacy.*]
ignore_errors = true
[mypy-homeassistant.components.netgear.*]
ignore_errors = true
-1
View File
@@ -51,7 +51,6 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.meteo_france.*",
"homeassistant.components.minecraft_server.*",
"homeassistant.components.mobile_app.*",
"homeassistant.components.nest.legacy.*",
"homeassistant.components.netgear.*",
"homeassistant.components.nilu.*",
"homeassistant.components.nzbget.*",