Skip to content

Add flash sort algorithm implementation #10895

Add flash sort algorithm implementation

Add flash sort algorithm implementation #10895

Triggered via pull request October 11, 2024 08:11
Status Failure
Total duration 17s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (C901): sorts/flash_sort.py#L1
sorts/flash_sort.py:1:5: C901 `flash_sort` is too complex (21 > 17)
Ruff (W293): sorts/flash_sort.py#L21
sorts/flash_sort.py:21:1: W293 Blank line contains whitespace
Ruff (PLR1730): sorts/flash_sort.py#L25
sorts/flash_sort.py:25:9: PLR1730 Replace `if` statement with `max_value = max(array[i], max_value)`
Ruff (PLR1730): sorts/flash_sort.py#L27
sorts/flash_sort.py:27:9: PLR1730 Replace `if` statement with `min_value = min(array[i], min_value)`
Ruff (W293): sorts/flash_sort.py#L31
sorts/flash_sort.py:31:1: W293 Blank line contains whitespace
Ruff (W293): sorts/flash_sort.py#L38
sorts/flash_sort.py:38:1: W293 Blank line contains whitespace
Ruff (N806): sorts/flash_sort.py#L39
sorts/flash_sort.py:39:5: N806 Variable `Lb` in function should be lowercase
Ruff (W293): sorts/flash_sort.py#L42
sorts/flash_sort.py:42:1: W293 Blank line contains whitespace
Ruff (W292): sorts/flash_sort.py#L88
sorts/flash_sort.py:88:51: W292 No newline at end of file
ruff
Process completed with exit code 1.