From 84dd14bddbf0e2c365d33126b7c264ea16aae5eb Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Fri, 18 Dec 2020 15:49:05 +0100 Subject: [PATCH] Update config for isort 5.0 --- setup.cfg | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/setup.cfg b/setup.cfg index 14342a5..9df91fd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,14 +4,7 @@ exclude = .git, *.pyc, __pycache__, migrations extend-ignore = E231, E203 [isort] -# For black compat: https://github.com/ambv/black#how-black-wraps-lines -combine_as_imports = true -default_section = THIRDPARTY -force_grid_wrap = 0 -include_trailing_comma = true +profile = black known_django = django -known_first_party = degette,sitedg -line_length = 88 -multi_line_output = 3 -not_skip = __init__.py +known_first_party = elections, shared sections = FUTURE,STDLIB,THIRDPARTY,DJANGO,FIRSTPARTY,LOCALFOLDER