ruff: apply automatic fixes

This commit is contained in:
Jörg Thalheim
2025-08-20 13:52:45 +02:00
parent 798d445f3e
commit ea2d6aab65
217 changed files with 2283 additions and 1739 deletions

View File

@@ -13,13 +13,13 @@ log = logging.getLogger(__name__)
@contextmanager
def pause_automounting(
devices: list[Path], machine: Machine, request_graphical: bool = False
devices: list[Path],
machine: Machine,
request_graphical: bool = False,
) -> Generator[None]:
"""
Pause automounting on the device for the duration of this context
"""Pause automounting on the device for the duration of this context
manager
"""
if shutil.which("udevadm") is None:
msg = "udev is required to disable automounting"
log.warning(msg)