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
epenet 2022-02-03 06:57:44 +01:00 committed by GitHub
parent f3a89de71f
commit 8325188ed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 4 deletions

View File

@ -1,4 +1,5 @@
"""Support for Nest devices."""
# mypy: ignore-errors
from datetime import datetime, timedelta
import logging

View File

@ -1,4 +1,6 @@
"""Support for Nest Thermostat binary sensors."""
# mypy: ignore-errors
from itertools import chain
import logging

View File

@ -1,4 +1,6 @@
"""Support for Nest Cameras."""
# mypy: ignore-errors
from __future__ import annotations
from datetime import timedelta

View File

@ -1,4 +1,6 @@
"""Legacy Works with Nest climate implementation."""
# mypy: ignore-errors
import logging
from nest.nest import APIError

View File

@ -1,4 +1,6 @@
"""Local Nest authentication for the legacy api."""
# mypy: ignore-errors
import asyncio
from functools import partial
from http import HTTPStatus

View File

@ -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

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

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.*",