mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Cleanup with ruff check (#1182)
* Implement improvements suggested by ruff check. * Add ruff check to CI.
This commit is contained in:
@@ -690,9 +690,7 @@ def emit_warnings(
|
||||
|
||||
|
||||
def is_failed(events: Sequence[Event], rc: int) -> bool:
|
||||
if rc:
|
||||
return True
|
||||
return False
|
||||
return bool(rc)
|
||||
|
||||
|
||||
def update_failed(
|
||||
|
||||
Reference in New Issue
Block a user