Skip to content

Add A* (A-star) pathfinding algorithm with doctests and type hints #16127

Add A* (A-star) pathfinding algorithm with doctests and type hints

Add A* (A-star) pathfinding algorithm with doctests and type hints #16127

Triggered via pull request October 27, 2025 07:20
Status Failure
Total duration 18s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (UP006): searches/astar.py#L24
searches/astar.py:24:15: UP006 Use `list` instead of `List` for type annotation
Ruff (UP045): searches/astar.py#L24
searches/astar.py:24:6: UP045 Use `X | None` for type annotations
Ruff (UP006): searches/astar.py#L18
searches/astar.py:18:41: UP006 Use `tuple` instead of `Tuple` for type annotation
Ruff (UP006): searches/astar.py#L17
searches/astar.py:17:8: UP006 Use `tuple` instead of `Tuple` for type annotation
Ruff (UP035): searches/astar.py#L14
searches/astar.py:14:1: UP035 `typing.Set` is deprecated, use `set` instead
Ruff (UP035): searches/astar.py#L14
searches/astar.py:14:1: UP035 `typing.Dict` is deprecated, use `dict` instead
Ruff (UP035): searches/astar.py#L14
searches/astar.py:14:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (UP035): searches/astar.py#L14
searches/astar.py:14:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
Ruff (UP035): searches/astar.py#L14
searches/astar.py:14:1: UP035 Import from `collections.abc` instead: `Callable`, `Iterable`
Ruff (I001): searches/astar.py#L13
searches/astar.py:13:1: I001 Import block is un-sorted or un-formatted