style: sort Xlib import in foreground_service
Resolves the ruff I001 warning introduced by 61cdce9.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -387,7 +387,7 @@ def _probe_linux() -> ForegroundInfo:
|
||||
)
|
||||
|
||||
try:
|
||||
from Xlib import display, X # type: ignore # noqa: F401
|
||||
from Xlib import X, display # type: ignore # noqa: F401
|
||||
except Exception:
|
||||
return ForegroundInfo(available=False, error="python-xlib not installed")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user