1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Split out yaml loading into own package (#140683)

* Split out yaml loading into library

* Code review

* Code review

* Fix check config script
This commit is contained in:
Jan-Philipp Benecke
2025-03-16 03:26:18 +01:00
committed by GitHub
parent 3a6ddcf428
commit 7b9ea63f17
15 changed files with 71 additions and 678 deletions

View File

@@ -29,6 +29,7 @@ from typing import Any, Literal, NoReturn
from unittest.mock import AsyncMock, Mock, patch
from aiohttp.test_utils import unused_port as get_test_instance_port # noqa: F401
from annotatedyaml import load_yaml_dict, loader as yaml_loader
import pytest
from syrupy import SnapshotAssertion
import voluptuous as vol
@@ -109,7 +110,6 @@ from homeassistant.util.json import (
)
from homeassistant.util.signal_type import SignalType
from homeassistant.util.unit_system import METRIC_SYSTEM
from homeassistant.util.yaml import load_yaml_dict, loader as yaml_loader
from .testing_config.custom_components.test_constant_deprecation import (
import_deprecated_constant,