Skip to content

Add input validation to cyclic_sort #18404

Add input validation to cyclic_sort

Add input validation to cyclic_sort #18404

Triggered via pull request July 12, 2026 18:14
Status Failure
Total duration 14s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
ruff
Process completed with exit code 1.
ruff (EM102): sorts/cyclic_sort.py#L46
sorts/cyclic_sort.py:46:30: EM102 Exception must not use an f-string literal, assign to variable first help: Assign to variable; remove f-string literal
ruff (EM102): sorts/cyclic_sort.py#L43
sorts/cyclic_sort.py:43:26: EM102 Exception must not use an f-string literal, assign to variable first help: Assign to variable; remove f-string literal