Skip to content

Commit a5d6551

Browse files
committed
fixed pep8
1 parent b9da1a5 commit a5d6551

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎graph/find_all_cliques.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ def expand_clique(candidates, nays):
2222
nays.add(compsub.pop())
2323

2424
def get_connected(vertex, old_set):
25-
newSet = set()
25+
new_set = set()
2626
for neighbor in edges[str(vertex)]:
2727
if neighbor in old_set:
28-
newSet.add(neighbor)
29-
return newSet
28+
new_set.add(neighbor)
29+
return new_set
3030

3131
compsub = []
3232
solutions = []

0 commit comments

Comments
 (0)