ruff test fix
This commit is contained in:
parent
228a86c474
commit
1c471d201a
|
|
@ -627,4 +627,4 @@ class DeviceHandler:
|
|||
self._wipe(block_device.device_info.path)
|
||||
|
||||
|
||||
device_handler = DeviceHandler()
|
||||
device_handler = DeviceHandler()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -313,4 +313,4 @@ def unlock_luks2_dev(
|
|||
if not luks_handler.is_unlocked():
|
||||
luks_handler.unlock()
|
||||
|
||||
return luks_handler
|
||||
return luks_handler
|
||||
|
|
|
|||
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Reference in New Issue