fix(graphs): use deque and dict indegree for sparse vertex IDs #18810
Annotations
2 errors
|
ruff
Process completed with exit code 1.
|
|
ruff (C420):
graphs/kahns_algorithm_topo.py#L29
graphs/kahns_algorithm_topo.py:29:32: C420 Unnecessary dict comprehension for iterable; use `dict.fromkeys` instead
help: Replace with `dict.fromkeys(iterable)`)
|