Skip to content

Improve the existing TimSort implementation #16063

Improve the existing TimSort implementation

Improve the existing TimSort implementation #16063

Triggered via pull request October 26, 2025 00:00
Status Failure
Total duration 15s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
ruff
Process completed with exit code 1.
Ruff (W292): sorts/tim_sort.py#L122
sorts/tim_sort.py:122:22: W292 No newline at end of file
Ruff (F841): sorts/tim_sort.py#L88
sorts/tim_sort.py:88:5: F841 Local variable `T` is assigned to but never used
Ruff (UP047): sorts/tim_sort.py#L68
sorts/tim_sort.py:68:5: UP047 Generic function `tim_sort` should use type parameters
Ruff (F841): sorts/tim_sort.py#L38
sorts/tim_sort.py:38:5: F841 Local variable `T` is assigned to but never used
Ruff (UP047): sorts/tim_sort.py#L29
sorts/tim_sort.py:29:5: UP047 Generic function `insertion_sort` should use type parameters