mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Activate mypy for gpmdp. (#55967)
This commit is contained in:
parent
15a7fe219d
commit
94f06f86cf
@ -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"
|
||||||
|
3
mypy.ini
3
mypy.ini
@ -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
|
||||||
|
|
||||||
|
@ -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.*",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user