Skip to content

Code review: fix 5 oldest code files with type hints and improvements #17710

Code review: fix 5 oldest code files with type hints and improvements

Code review: fix 5 oldest code files with type hints and improvements #17710

Triggered via pull request April 19, 2026 08:05
Status Failure
Total duration 8s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
ruff
Process completed with exit code 1.
ruff (F401): sorts/pancake_sort.py#L18
sorts/pancake_sort.py:18:20: F401 `typing.Any` imported but unused help: Remove unused import: `typing.Any`
ruff (F401): sorts/pancake_sort.py#L17
sorts/pancake_sort.py:17:29: F401 `collections.abc.Collection` imported but unused help: Remove unused import: `collections.abc.Collection`
ruff (F401): searches/sentinel_linear_search.py#L16
searches/sentinel_linear_search.py:16:29: F401 `collections.abc.Sequence` imported but unused help: Remove unused import: `collections.abc.Sequence`
ruff (F401): graphs/g_topological_sort.py#L16
graphs/g_topological_sort.py:16:29: F401 `collections.abc.Sequence` imported but unused help: Remove unused import: `collections.abc.Sequence`