Add sleep sort with doctest and type hints (Hacktoberfest 2025) #16184
Annotations
7 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (W292):
sorts/sleep_sort.py#L42
sorts/sleep_sort.py:42:34: W292 No newline at end of file
|
|
Ruff (UP006):
sorts/sleep_sort.py#L25
sorts/sleep_sort.py:25:13: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (RUF002):
sorts/sleep_sort.py#L12
sorts/sleep_sort.py:12:14: RUF002 Docstring contains ambiguous `–` (EN DASH). Did you mean `-` (HYPHEN-MINUS)?
|
|
Ruff (UP006):
sorts/sleep_sort.py#L9
sorts/sleep_sort.py:9:35: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
sorts/sleep_sort.py#L9
sorts/sleep_sort.py:9:21: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP035):
sorts/sleep_sort.py#L6
sorts/sleep_sort.py:6:1: UP035 `typing.List` is deprecated, use `list` instead
|