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:
committed by
GitHub
parent
3a6ddcf428
commit
7b9ea63f17
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user