Add topological sort using DFS and Kahn's algorithm #16782
Annotations
10 errors
|
Ruff (UP006):
data_structures/sort/topological_sort.py#L52
data_structures/sort/topological_sort.py:52:54: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/sort/topological_sort.py#L52
data_structures/sort/topological_sort.py:52:49: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/sort/topological_sort.py#L31
data_structures/sort/topological_sort.py:31:13: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/sort/topological_sort.py#L26
data_structures/sort/topological_sort.py:26:17: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/sort/topological_sort.py#L26
data_structures/sort/topological_sort.py:26:12: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/sort/topological_sort.py#L16
data_structures/sort/topological_sort.py:16:68: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/sort/topological_sort.py#L16
data_structures/sort/topological_sort.py:16:53: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/sort/topological_sort.py#L16
data_structures/sort/topological_sort.py:16:48: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP035):
data_structures/sort/topological_sort.py#L13
data_structures/sort/topological_sort.py:13:1: UP035 `typing.List` is deprecated, use `list` instead
|
|
Ruff (INP001):
data_structures/sort/topological_sort.py#L1
data_structures/sort/topological_sort.py:1:1: INP001 File `data_structures/sort/topological_sort.py` is part of an implicit namespace package. Add an `__init__.py`.
|