From 0e466a98e6fdba27e27f411fdb9b242c8b3071f2 Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Fri, 2 Feb 2018 14:52:10 +0000 Subject: [PATCH] setup.cfg isort cfg --- setup.cfg | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 66d21b5cc..2d0868dfd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,26 @@ [bdist_wheel] universal = 1 + +[isort] +atomic = true +combine_as_imports = true +combine_star = true +default_section = THIRDPARTY +indent = ' ' +known_django=django +known_drf=rest_framework +known_first_party = modoboa,test_project +multi_line_output = 5 +no_lines_before=LOCALFOLDER +not_skip = __init__.py +sections=FUTURE,STDLIB,THIRDPARTY,DJANGO,DRF,FIRSTPARTY,LOCALFOLDER +skip_glob = **/migrations/*.py +use_parentheses = true + [pep8] -max-line-length = 80 exclude = migrations +max-line-length = 80 + +[flake8] +exclude = migrations +max-line-length = 80