Remove unused config regexps (#147631)

This commit is contained in:
Ville Skyttä 2025-06-26 21:02:14 +00:00 committed by GitHub
parent 2655edcfc8
commit 1bb653b4f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,6 @@ import logging
import operator import operator
import os import os
from pathlib import Path from pathlib import Path
import re
import shutil import shutil
from types import ModuleType from types import ModuleType
from typing import TYPE_CHECKING, Any from typing import TYPE_CHECKING, Any
@ -39,8 +38,6 @@ from .util.yaml.objects import NodeStrClass
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
RE_YAML_ERROR = re.compile(r"homeassistant\.util\.yaml")
RE_ASCII = re.compile(r"\033\[[^m]*m")
YAML_CONFIG_FILE = "configuration.yaml" YAML_CONFIG_FILE = "configuration.yaml"
VERSION_FILE = ".HA_VERSION" VERSION_FILE = ".HA_VERSION"
CONFIG_DIR_NAME = ".homeassistant" CONFIG_DIR_NAME = ".homeassistant"