Create codespell.yml (#1698)

* fixup! Format Python code with psf/black push

* Create codespell.yml

* fixup! Format Python code with psf/black push
This commit is contained in:
Christian Clauss
2020-01-18 13:24:33 +01:00
committed by GitHub
parent c01d178798
commit bfcb95b297
78 changed files with 206 additions and 188 deletions

View File

@ -5,7 +5,7 @@
import math
import sys
# For storing the vertex set to retreive node with the lowest distance
# For storing the vertex set to retrieve node with the lowest distance
class PriorityQueue:
@ -103,9 +103,7 @@ class Graph:
def show_graph(self):
# u -> v(w)
for u in self.adjList:
print(
u, "->", " -> ".join(str(f"{v}({w})") for v, w in self.adjList[u]),
)
print(u, "->", " -> ".join(str(f"{v}({w})") for v, w in self.adjList[u]))
def dijkstra(self, src):
# Flush old junk values in par[]