Add flash sort algorithm implementation #10897
Annotations
7 errors
Ruff (I001):
sorts/flash_sort.py#L1
sorts/flash_sort.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (C901):
sorts/flash_sort.py#L3
sorts/flash_sort.py:3:5: C901 `flash_sort` is too complex (21 > 17)
|
Ruff (PLR1730):
sorts/flash_sort.py#L27
sorts/flash_sort.py:27:9: PLR1730 Replace `if` statement with `max_value = max(array[i], max_value)`
|
Ruff (PLR1730):
sorts/flash_sort.py#L29
sorts/flash_sort.py:29:9: PLR1730 Replace `if` statement with `min_value = min(array[i], min_value)`
|
Ruff (E501):
sorts/flash_sort.py#L111
sorts/flash_sort.py:111:89: E501 Line too long (93 > 88)
|
Ruff (E501):
sorts/flash_sort.py#L141
sorts/flash_sort.py:141:89: E501 Line too long (119 > 88)
|
ruff
Process completed with exit code 1.
|