From 1d4beb2136a059fe46779bd996ba881296dde25a 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 a1074d588f..dfcf373bd5 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):