Skip to content

Remove legacy things #123

Remove legacy things

Remove legacy things #123

Triggered via pull request March 27, 2024 21:31
@rdbenderdbende
synchronize #904
remove-legacy
Status Failure
Total duration 13s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Ruff (SIM108): cozy/view_model/sleep_timer_view_model.py#L125
cozy/view_model/sleep_timer_view_model.py:125:13: SIM108 Use ternary operator `command = "systemctl poweroff" if "linux" in sys.platform.lower() else "shutdown -h now"` instead of `if`-`else`-block
Ruff (F821): cozy/view_model/sleep_timer_view_model.py#L125
cozy/view_model/sleep_timer_view_model.py:125:27: F821 Undefined name `sys`
Ruff (F821): cozy/view_model/sleep_timer_view_model.py#L131
cozy/view_model/sleep_timer_view_model.py:131:27: F821 Undefined name `sys`
ruff
Process completed with exit code 1.