Add input validation to cyclic_sort for duplicates and out-of-range v… #18363
Annotations
3 errors
|
ruff
Process completed with exit code 1.
|
|
ruff (EM102):
sorts/cyclic_sort.py#L52
sorts/cyclic_sort.py:52: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#L48
sorts/cyclic_sort.py:48:26: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|