Skip to content

Add sleep sort with doctest and type hints (Hacktoberfest 2025) #16185

Add sleep sort with doctest and type hints (Hacktoberfest 2025)

Add sleep sort with doctest and type hints (Hacktoberfest 2025) #16185

Triggered via pull request October 29, 2025 10:59
Status Failure
Total duration 13s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
ruff
Process completed with exit code 1.
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