Skip to content

Commit

Permalink
Correct the multiline tab bug as raised in issue PyCQA#1714
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudnits committed Apr 29, 2021
1 parent 5e29571 commit 337ca6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions isort/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def file_contents(contents: str, config: Config = DEFAULT_CONFIG) -> ParsedConte
else:
while line.strip().endswith("\\"):
line, new_comment = parse_comments(in_lines[index])
line = line.lstrip()
index += 1
if new_comment:
comments.append(new_comment)
Expand Down

0 comments on commit 337ca6b

Please sign in to comment.