ruff test fix

This commit is contained in:
Alperen42v 2026-07-02 13:37:04 +03:00
parent 228a86c474
commit 1c471d201a
4 changed files with 4 additions and 4 deletions

View File

@ -627,4 +627,4 @@ class DeviceHandler:
self._wipe(block_device.device_info.path)
device_handler = DeviceHandler()
device_handler = DeviceHandler()

View File

@ -458,4 +458,4 @@ async def select_encryption_cipher(preset: str | None = None) -> str | None:
case ResultType.Skip:
return preset
case ResultType.Selection:
return result.get_value()
return result.get_value()

View File

@ -313,4 +313,4 @@ def unlock_luks2_dev(
if not luks_handler.is_unlocked():
luks_handler.unlock()
return luks_handler
return luks_handler

View File

@ -1664,4 +1664,4 @@ class LsblkInfo(BaseModel):
@classmethod
def fields(cls) -> list[str]:
return [field.alias or name for name, field in cls.model_fields.items() if name != 'children']
return [field.alias or name for name, field in cls.model_fields.items() if name != 'children']