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 Nov 17, 2023
1 parent 48c98b2 commit 7ae8aaa
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 @@ -575,7 +575,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 7ae8aaa

Please sign in to comment.