mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-29 05:14:42 +02:00
Auto-fix unused imports across tests + switch.py (ruff --fix)
12 unused-import warnings cleaned up by `ruff check --select=F,I --fix --unsafe-fixes`. No behavioral changes; 94/94 tests still green. Remaining lint warnings (line-length, complexity) are accumulated upstream tech debt outside this change's scope.
This commit is contained in:
parent
03d2748cd4
commit
e59ccfa571
6 changed files with 33 additions and 40 deletions
|
|
@ -7,20 +7,17 @@ from __future__ import annotations
|
|||
|
||||
import logging
|
||||
|
||||
import pytest
|
||||
from homeassistant.config_entries import ConfigEntryState
|
||||
from homeassistant.const import CONF_NAME
|
||||
from homeassistant.helpers import entity_registry as er
|
||||
from pytest_homeassistant_custom_component.common import MockConfigEntry
|
||||
|
||||
from custom_components.adaptive_lighting.const import (
|
||||
CONFIG_ENTRY_VERSION,
|
||||
DEFAULT_NAME,
|
||||
DOMAIN,
|
||||
UNDO_UPDATE_LISTENER,
|
||||
)
|
||||
from homeassistant.config_entries import ConfigEntryState
|
||||
from homeassistant.const import CONF_NAME
|
||||
from homeassistant.exceptions import ConfigEntryError
|
||||
from homeassistant.helpers import entity_registry as er
|
||||
|
||||
from pytest_homeassistant_custom_component.common import MockConfigEntry
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# R8 — strict version break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue