Improved Bellman-Ford Algorithm : Added Path Reconstruction With Better Output Representation #10871
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
|