diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2019-12-23 23:19:30 -0800 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-12-23 23:19:30 -0800 |
commit | 7b67b7f7cca70549d452c603f4d6c199f5831402 (patch) | |
tree | 1605a17c1c82178baf5235f77e7161c5b0ba8687 | |
parent | 7480464332b3a370561d945b099630ca780721ab (diff) | |
download | isort-7b67b7f7cca70549d452c603f4d6c199f5831402.tar.gz |
Black formatting
-rw-r--r-- | isort/api.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/isort/api.py b/isort/api.py index c39b1b58..8ff8ec87 100644 --- a/isort/api.py +++ b/isort/api.py @@ -216,7 +216,9 @@ def sort_imports( import_section += line elif stripped_line.startswith(IMPORT_START_IDENTIFIERS): import_section += line - while stripped_line.endswith("\\") or ("(" in stripped_line and ")" not in stripped_line): + while stripped_line.endswith("\\") or ( + "(" in stripped_line and ")" not in stripped_line + ): if stripped_line.endswith("\\"): while stripped_line and stripped_line.endswith("\\"): line = input_stream.readline() |