Skip to content

Commit

Permalink
Add a missing colon that got misplaced during code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse-sony committed Aug 29, 2023
1 parent 3216b64 commit 8e76277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yapf/yapflib/format_decision_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def SurroundedByParens(token):
if split_before and prev_token:
clause_start = _PrevLogicalClause(prev_token)
length += opening.total_length - clause_start.total_length
elif not split_before and next_token
elif not split_before and next_token:
clause_end = _NextLogicalClause(next_token)
length += clause_end.total_length - ending.total_length
else:
Expand Down

0 comments on commit 8e76277

Please sign in to comment.