Skip to content

Commit 0b0bba8

Browse files
author
Andreas Freimuth
committed
Fix closing brace/bracket/parenthesis on multi-line constructs (Issue: pylint-dev#638)
1 parent 783b5c6 commit 0b0bba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/checkers/format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def _continuation_inside_bracket(self, bracket, pos):
430430
CONTINUED,
431431
bracket,
432432
pos,
433-
_Indentations(token_indent),
433+
_Indentations(token_indent, next_token_indent),
434434
_Indentations(next_token_indent))
435435

436436
def pop_token(self):

0 commit comments

Comments
 (0)