Skip to content

Add type hints to pancake_sort function #18779

Add type hints to pancake_sort function

Add type hints to pancake_sort function #18779

Triggered via pull request August 30, 2026 16:53
Status Failure
Total duration 8s
Artifacts –

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
ruff
Process completed with exit code 1.
ruff (UP047): sorts/pancake_sort.py#L17
sorts/pancake_sort.py:17:5: UP047 Generic function `pancake_sort` should use type parameters help: Use type parameters