summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-12-23 23:19:30 -0800
committerTimothy Crosley <timothy.crosley@gmail.com>2019-12-23 23:19:30 -0800
commit7b67b7f7cca70549d452c603f4d6c199f5831402 (patch)
tree1605a17c1c82178baf5235f77e7161c5b0ba8687
parent7480464332b3a370561d945b099630ca780721ab (diff)
downloadisort-7b67b7f7cca70549d452c603f4d6c199f5831402.tar.gz
Black formatting
-rw-r--r--isort/api.py4
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()