Skip to content

Implement Johnson's algorithm with tests; update Bellman-Ford and Dij… #13708

Implement Johnson's algorithm with tests; update Bellman-Ford and Dij…

Implement Johnson's algorithm with tests; update Bellman-Ford and Dij… #13708

Triggered via pull request August 7, 2025 09:33
Status Failure
Total duration 9s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (UP006): graphs/bellman_ford.py#L62
graphs/bellman_ford.py:62:66: UP006 Use `dict` instead of `Dict` for type annotation
Ruff (UP045): graphs/bellman_ford.py#L62
graphs/bellman_ford.py:62:57: UP045 Use `X | None` for type annotations
Ruff (UP006): graphs/bellman_ford.py#L29
graphs/bellman_ford.py:29:50: UP006 Use `tuple` instead of `Tuple` for type annotation
Ruff (UP006): graphs/bellman_ford.py#L29
graphs/bellman_ford.py:29:45: UP006 Use `list` instead of `List` for type annotation
Ruff (E501): graphs/bellman_ford.py#L17
graphs/bellman_ford.py:17:89: E501 Line too long (92 > 88)
Ruff (I001): graphs/bellman_ford.py#L11
graphs/bellman_ford.py:11:1: I001 Import block is un-sorted or un-formatted
Ruff (UP035): graphs/bellman_ford.py#L11
graphs/bellman_ford.py:11:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
Ruff (UP035): graphs/bellman_ford.py#L11
graphs/bellman_ford.py:11:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (UP035): graphs/bellman_ford.py#L11
graphs/bellman_ford.py:11:1: UP035 `typing.Dict` is deprecated, use `dict` instead
Ruff (E501): graphs/bellman_ford.py#L5
graphs/bellman_ford.py:5:89: E501 Line too long (92 > 88)