Skip to content

Commit 8e76277

Browse files
committed
Add a missing colon that got misplaced during code cleanup
1 parent 3216b64 commit 8e76277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yapf/yapflib/format_decision_state.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def SurroundedByParens(token):
564564
if split_before and prev_token:
565565
clause_start = _PrevLogicalClause(prev_token)
566566
length += opening.total_length - clause_start.total_length
567-
elif not split_before and next_token
567+
elif not split_before and next_token:
568568
clause_end = _NextLogicalClause(next_token)
569569
length += clause_end.total_length - ending.total_length
570570
else:

0 commit comments

Comments
 (0)