Skip to content

Add flash sort algorithm implementation #10896

Add flash sort algorithm implementation

Add flash sort algorithm implementation #10896

Triggered via pull request October 11, 2024 08:21
Status Failure
Total duration 14s
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 (PLR1730): sorts/flash_sort.py#L7
sorts/flash_sort.py:7:9: PLR1730 Replace `if` statement with `max_value = max(array[i], max_value)`
Ruff (PLR1730): sorts/flash_sort.py#L9
sorts/flash_sort.py:9:9: PLR1730 Replace `if` statement with `min_value = min(array[i], min_value)`
Ruff (E501): sorts/flash_sort.py#L61
sorts/flash_sort.py:61:89: E501 Line too long (97 > 88)
Ruff (PLR1711): sorts/flash_sort.py#L69
sorts/flash_sort.py:69:9: PLR1711 Useless `return` statement at end of function
Ruff (PIE808): sorts/flash_sort.py#L71
sorts/flash_sort.py:71:28: PIE808 Unnecessary `start` argument in `range`
Ruff (E501): sorts/flash_sort.py#L75
sorts/flash_sort.py:75:89: E501 Line too long (93 > 88)
Ruff (PLR1711): sorts/flash_sort.py#L93
sorts/flash_sort.py:93:9: PLR1711 Useless `return` statement at end of function
Ruff (E501): sorts/flash_sort.py#L99
sorts/flash_sort.py:99:89: E501 Line too long (119 > 88)
ruff
Process completed with exit code 1.