mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 05:43:06 +00:00
Cleanup with ruff check (#963)
* Implement improvements suggested by ruff check. * Add ruff check to CI. * Add changelog fragment.
This commit is contained in:
@@ -936,9 +936,7 @@ class ConditionsHandler(Handler):
|
||||
|
||||
name = self.opened_luks_name(self.device)
|
||||
|
||||
if name is None:
|
||||
return True
|
||||
return False
|
||||
return name is None
|
||||
|
||||
def luks_close(self) -> bool:
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user