yes yes ruff fix
This commit is contained in:
parent
ed7ba45ae3
commit
7fcdec0d32
|
|
@ -628,4 +628,4 @@ class DeviceHandler:
|
||||||
self._wipe(block_device.device_info.path)
|
self._wipe(block_device.device_info.path)
|
||||||
|
|
||||||
|
|
||||||
device_handler = DeviceHandler()
|
device_handler = DeviceHandler()
|
||||||
|
|
|
||||||
|
|
@ -453,4 +453,4 @@ async def select_encryption_cipher(preset: EncryptionCipher | None = None) -> En
|
||||||
case ResultType.Skip:
|
case ResultType.Skip:
|
||||||
return preset
|
return preset
|
||||||
case ResultType.Selection:
|
case ResultType.Selection:
|
||||||
return result.get_value()
|
return result.get_value()
|
||||||
|
|
|
||||||
|
|
@ -314,4 +314,4 @@ def unlock_luks2_dev(
|
||||||
if not luks_handler.is_unlocked():
|
if not luks_handler.is_unlocked():
|
||||||
luks_handler.unlock()
|
luks_handler.unlock()
|
||||||
|
|
||||||
return luks_handler
|
return luks_handler
|
||||||
|
|
|
||||||
|
|
@ -1686,4 +1686,4 @@ class LsblkInfo(BaseModel):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def fields(cls) -> list[str]:
|
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