summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Brown II <Stephen.Brown2@gmail.com>2020-01-02 17:28:13 -0700
committerStephen Brown II <Stephen.Brown2@gmail.com>2020-01-02 17:28:13 -0700
commite0ba8f5d38d7f22b3f2ca11efce7f5403b62f859 (patch)
tree5973811d8a19b729469097c2a20eb31d9ec0d321
parentc54b3dd4620f9b3e7ac127c583ecb029fb90f1b7 (diff)
downloadisort-e0ba8f5d38d7f22b3f2ca11efce7f5403b62f859.tar.gz
Add ensure_newline_before_comments to black profile
Since #1000 was merged to address black compatibility, best include it in the profile.
-rw-r--r--isort/profiles.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/isort/profiles.py b/isort/profiles.py
index 669c8277..1210c8ef 100644
--- a/isort/profiles.py
+++ b/isort/profiles.py
@@ -6,6 +6,7 @@ black = {
"include_trailing_comma": True,
"force_grid_wrap": 0,
"use_parentheses": True,
+ "ensure_newline_before_comments": True,
}
django = {
"combine_as_imports": True,