Activate mypy for gpmdp. (#55967)

This commit is contained in:
jan iversen 2021-09-16 19:05:08 +02:00 committed by GitHub
parent 15a7fe219d
commit 94f06f86cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -1,8 +1,11 @@
"""Support for Google Play Music Desktop Player.""" """Support for Google Play Music Desktop Player."""
from __future__ import annotations
import json import json
import logging import logging
import socket import socket
import time import time
from typing import Any
import voluptuous as vol import voluptuous as vol
from websocket import _exceptions, create_connection from websocket import _exceptions, create_connection
@ -28,7 +31,7 @@ from homeassistant.const import (
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
from homeassistant.util.json import load_json, save_json from homeassistant.util.json import load_json, save_json
_CONFIGURING = {} _CONFIGURING: dict[str, Any] = {}
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
DEFAULT_HOST = "localhost" DEFAULT_HOST = "localhost"

View file

@ -1370,9 +1370,6 @@ ignore_errors = true
[mypy-homeassistant.components.google_assistant.*] [mypy-homeassistant.components.google_assistant.*]
ignore_errors = true ignore_errors = true
[mypy-homeassistant.components.gpmdp.*]
ignore_errors = true
[mypy-homeassistant.components.gree.*] [mypy-homeassistant.components.gree.*]
ignore_errors = true ignore_errors = true

View file

@ -38,7 +38,6 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.geniushub.*", "homeassistant.components.geniushub.*",
"homeassistant.components.glances.*", "homeassistant.components.glances.*",
"homeassistant.components.google_assistant.*", "homeassistant.components.google_assistant.*",
"homeassistant.components.gpmdp.*",
"homeassistant.components.gree.*", "homeassistant.components.gree.*",
"homeassistant.components.growatt_server.*", "homeassistant.components.growatt_server.*",
"homeassistant.components.habitica.*", "homeassistant.components.habitica.*",