Skip to content

Commit

Permalink
Ensure line stays < 100 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Dec 9, 2020
1 parent c8afa9a commit d1ce7d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion isort/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,8 @@ def write(self, *a, **kw):
all_imports.extend(
li
for li in parsed_content.in_lines
if li and li not in lines_without_imports_set
if li
and li not in lines_without_imports_set
and not li.lstrip().startswith("#")
)

Expand Down

0 comments on commit d1ce7d3

Please sign in to comment.