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