Skip to content

Fix type hints in sorts/tim_sort.py, relates to #14457 #17524

Fix type hints in sorts/tim_sort.py, relates to #14457

Fix type hints in sorts/tim_sort.py, relates to #14457 #17524

Triggered via pull request March 28, 2026 20:30
Status Failure
Total duration 15s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
ruff
Process completed with exit code 1.
ruff (UP047): sorts/tim_sort.py#L44
sorts/tim_sort.py:44:5: UP047 Generic function `tim_sort` should use type parameters help: Use type parameters
ruff (UP047): sorts/tim_sort.py#L31
sorts/tim_sort.py:31:5: UP047 Generic function `merge` should use type parameters help: Use type parameters
ruff (UP047): sorts/tim_sort.py#L20
sorts/tim_sort.py:20:5: UP047 Generic function `insertion_sort` should use type parameters help: Use type parameters
ruff (UP047): sorts/tim_sort.py#L5
sorts/tim_sort.py:5:5: UP047 Generic function `binary_search` should use type parameters help: Use type parameters