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:
2026-05-18 03:19:02 +03:00
parent 61cdce9b60
commit eeab9b2a26
+1 -1
View File
@@ -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")