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."""
from __future__ import annotations
import json
import logging
import socket
import time
from typing import Any
import voluptuous as vol
from websocket import _exceptions, create_connection
@ -28,7 +31,7 @@ from homeassistant.const import (
import homeassistant.helpers.config_validation as cv
from homeassistant.util.json import load_json, save_json
_CONFIGURING = {}
_CONFIGURING: dict[str, Any] = {}
_LOGGER = logging.getLogger(__name__)
DEFAULT_HOST = "localhost"

View file

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

View file

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