code styling: add comments and fix pep8

This commit is contained in:
Marco Thomas
2022-07-27 17:58:29 +02:00
parent 68885ff560
commit 8a0a59c222
4 changed files with 49 additions and 12 deletions

View File

@@ -72,7 +72,10 @@ def parse(filename: str) -> DataSet:
domestic = True
else:
domestic = False
flights.update({id1: {"to": id2, "stops": stops, "domestic": domestic}})
flights.update({id1: {
"to": id2,
"stops": stops,
"domestic": domestic}})
continue
case ParsingMode.FINDCONNECTION:
print("Parsing connection...")