mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Remove stt from mypy ignore list (#64468)
This commit is contained in:
parent
3ef2eadaf5
commit
3e4883b175
@ -4,6 +4,7 @@ from __future__ import annotations
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
import asyncio
|
import asyncio
|
||||||
import logging
|
import logging
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
from aiohttp import StreamReader, web
|
from aiohttp import StreamReader, web
|
||||||
from aiohttp.hdrs import istr
|
from aiohttp.hdrs import istr
|
||||||
@ -185,7 +186,7 @@ class SpeechToTextView(HomeAssistantView):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
# Convert Header data
|
# Convert Header data
|
||||||
args = {}
|
args: dict[str, Any] = {}
|
||||||
for value in data:
|
for value in data:
|
||||||
value = value.strip()
|
value = value.strip()
|
||||||
args[value.partition("=")[0]] = value.partition("=")[2]
|
args[value.partition("=")[0]] = value.partition("=")[2]
|
||||||
|
3
mypy.ini
3
mypy.ini
@ -2182,9 +2182,6 @@ ignore_errors = true
|
|||||||
[mypy-homeassistant.components.spotify.*]
|
[mypy-homeassistant.components.spotify.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
[mypy-homeassistant.components.stt.*]
|
|
||||||
ignore_errors = true
|
|
||||||
|
|
||||||
[mypy-homeassistant.components.system_health.*]
|
[mypy-homeassistant.components.system_health.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
|
@ -69,7 +69,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
|||||||
"homeassistant.components.solaredge.*",
|
"homeassistant.components.solaredge.*",
|
||||||
"homeassistant.components.sonos.*",
|
"homeassistant.components.sonos.*",
|
||||||
"homeassistant.components.spotify.*",
|
"homeassistant.components.spotify.*",
|
||||||
"homeassistant.components.stt.*",
|
|
||||||
"homeassistant.components.system_health.*",
|
"homeassistant.components.system_health.*",
|
||||||
"homeassistant.components.system_log.*",
|
"homeassistant.components.system_log.*",
|
||||||
"homeassistant.components.telegram_bot.*",
|
"homeassistant.components.telegram_bot.*",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user