summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurits van Rees <maurits@vanrees.org>2022-05-03 11:34:53 +0200
committerMaurits van Rees <maurits@vanrees.org>2022-05-03 11:34:53 +0200
commit0ac4fe1431fd04aa2645a4afc3d4d2fbfb21bb90 (patch)
tree1700d4e8a0f7b2406ad68022cd90c10c2129e3d7
parentc6a41965247a858a0afd848fbebfca18b8983917 (diff)
downloadisort-0ac4fe1431fd04aa2645a4afc3d4d2fbfb21bb90.tar.gz
Update plone profile: copy of black, plus three settings.
Fixes https://github.com/PyCQA/isort/issues/1925
-rw-r--r--isort/profiles.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/isort/profiles.py b/isort/profiles.py
index 21d06463..cf43ac0f 100644
--- a/isort/profiles.py
+++ b/isort/profiles.py
@@ -33,12 +33,14 @@ open_stack = {
"force_sort_within_sections": True,
"lexicographical": True,
}
-plone = {
- "force_alphabetical_sort": True,
- "force_single_line": True,
- "lines_after_imports": 2,
- "line_length": 200,
-}
+plone = black.copy()
+plone.update(
+ {
+ "force_alphabetical_sort": True,
+ "force_single_line": True,
+ "lines_after_imports": 2,
+ }
+)
attrs = {
"atomic": True,
"force_grid_wrap": 0,