fix: correct PageRank initialization and handle dangling nodes #18444
Annotations
4 errors
|
ruff
Process completed with exit code 1.
|
|
ruff (W292):
graphs/page_rank.py#L93
graphs/page_rank.py:93:11: W292 No newline at end of file
help: Add trailing newline
|
|
ruff (E501):
graphs/page_rank.py#L65
graphs/page_rank.py:65:89: E501 Line too long (90 > 88)
|
|
ruff (B007):
graphs/page_rank.py#L60
graphs/page_rank.py:60:9: B007 Loop control variable `i` not used within loop body
help: Rename unused `i` to `_i`
|