Skip to content

Fix slowsort comparable #21004

Fix slowsort comparable

Fix slowsort comparable #21004

Triggered via pull request October 12, 2026 23:49
Status Failure
Total duration 11s
Artifacts –

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 notice
ruff
Process completed with exit code 1.
ruff (ANN201): tests/test_sorts.py#L237
tests/test_sorts.py:237:5: ANN201 Missing return type annotation for public function `test_slowsort_type_error_on_incomparable` help: Add return type annotation: `None`
ruff (ANN201): tests/test_sorts.py#L225
tests/test_sorts.py:225:5: ANN201 Missing return type annotation for public function `test_slowsort_comparable_types` help: Add return type annotation: `None`
ruff (E402): tests/test_sorts.py#L222
tests/test_sorts.py:222:1: E402 Module level import not at top of file help: Move module level imports to top of file
ruff (I001): tests/test_sorts.py#L221
tests/test_sorts.py:221:1: I001 Import block is un-sorted or un-formatted help: Organize imports
ruff (E402): tests/test_sorts.py#L221
tests/test_sorts.py:221:1: E402 Module level import not at top of file help: Move module level imports to top of file
ruff (UP047): sorts/slowsort.py#L24
sorts/slowsort.py:24:5: UP047 Generic function `slowsort` should use type parameters help: Use type parameters
ruff
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"