Skip to content

Improved Bellman-Ford Algorithm : Added Path Reconstruction With Better Output Representation #10871

Improved Bellman-Ford Algorithm : Added Path Reconstruction With Better Output Representation

Improved Bellman-Ford Algorithm : Added Path Reconstruction With Better Output Representation #10871

Triggered via pull request October 10, 2024 22:19
Status Failure
Total duration 18s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (UP035): graphs/bellman_ford.py#L1
graphs/bellman_ford.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (UP035): graphs/bellman_ford.py#L1
graphs/bellman_ford.py:1:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
Ruff (UP035): graphs/bellman_ford.py#L1
graphs/bellman_ford.py:1:1: UP035 `typing.Dict` is deprecated, use `dict` instead
Ruff (I001): graphs/bellman_ford.py#L1
graphs/bellman_ford.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): graphs/bellman_ford.py#L1
graphs/bellman_ford.py:1:33: F401 `typing.Dict` imported but unused
Ruff (PYI024): graphs/bellman_ford.py#L4
graphs/bellman_ford.py:4:8: PYI024 Use `typing.NamedTuple` instead of `collections.namedtuple`
Ruff (UP006): graphs/bellman_ford.py#L7
graphs/bellman_ford.py:7:40: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): graphs/bellman_ford.py#L7
graphs/bellman_ford.py:7:60: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): graphs/bellman_ford.py#L7
graphs/bellman_ford.py:7:65: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): graphs/bellman_ford.py#L18
graphs/bellman_ford.py:18:12: UP006 Use `list` instead of `List` for type annotation