fix: resolve all 153 ruff lint errors for CI
Some checks failed
Lint & Test / test (push) Failing after 9s

Auto-fixed 138 unused imports and f-string issues. Manually fixed:
ambiguous variable names (l→layer), availability-check imports using
importlib.util.find_spec, unused Color import, ImagePool forward ref
via TYPE_CHECKING, multi-statement semicolons, and E402 suppression.
This commit is contained in:
2026-03-22 01:29:26 +03:00
parent f2871319cb
commit 7380b33b9b
79 changed files with 73 additions and 146 deletions

View File

@@ -1,7 +1,6 @@
"""Tests for BaseJsonStore — the shared data-layer base class."""
import json
import threading
from concurrent.futures import ThreadPoolExecutor, as_completed
from dataclasses import dataclass
from pathlib import Path

View File

@@ -1,6 +1,5 @@
"""Tests for DeviceStore — device CRUD, persistence, name uniqueness, thread safety."""
import threading
from concurrent.futures import ThreadPoolExecutor, as_completed
from pathlib import Path

View File

@@ -7,7 +7,6 @@ from wled_controller.storage.output_target_store import OutputTargetStore
from wled_controller.storage.wled_output_target import WledOutputTarget
from wled_controller.storage.key_colors_output_target import (
KeyColorsOutputTarget,
KeyColorsSettings,
)