From 0b0bba8410c9be67687069a0b5b20fbec5ce991d Mon Sep 17 00:00:00 2001 From: Andreas Freimuth Date: Sat, 17 Mar 2018 11:33:14 +0100 Subject: [PATCH] Fix closing brace/bracket/parenthesis on multi-line constructs (Issue: #638) --- pylint/checkers/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylint/checkers/format.py b/pylint/checkers/format.py index 023a933ebb7..c568a1b5b30 100644 --- a/pylint/checkers/format.py +++ b/pylint/checkers/format.py @@ -430,7 +430,7 @@ def _continuation_inside_bracket(self, bracket, pos): CONTINUED, bracket, pos, - _Indentations(token_indent), + _Indentations(token_indent, next_token_indent), _Indentations(next_token_indent)) def pop_token(self):