Add Smoothsort algorithm implementation #18041
Annotations
6 errors
|
ruff
Process completed with exit code 1.
|
|
ruff (E741):
sorts/smoothsort.py#L35
sorts/smoothsort.py:35:13: E741 Ambiguous variable name: `l`
|
|
ruff (UP006):
sorts/smoothsort.py#L27
sorts/smoothsort.py:27:15: UP006 Use `list` instead of `List` for type annotation
help: Replace with `list`
|
|
ruff (UP006):
sorts/smoothsort.py#L4
sorts/smoothsort.py:4:35: UP006 Use `list` instead of `List` for type annotation
help: Replace with `list`
|
|
ruff (UP006):
sorts/smoothsort.py#L4
sorts/smoothsort.py:4:21: UP006 Use `list` instead of `List` for type annotation
help: Replace with `list`
|
|
ruff (UP035):
sorts/smoothsort.py#L1
sorts/smoothsort.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
|