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,5 @@
"""Tests for configuration management."""
import os
from pathlib import Path
import pytest
import yaml
@@ -9,13 +7,8 @@ import yaml
from wled_controller.config import (
Config,
ServerConfig,
StorageConfig,
AuthConfig,
MQTTConfig,
LoggingConfig,
get_config,
reload_config,
is_demo_mode,
)