From 80a8ba7c4d16efbeda0b66a225feb70639c10687 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 17 Dec 2020 10:34:24 +0100 Subject: [PATCH] Configuration des outils --- setup.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..14342a5 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,17 @@ +[flake8] +max-line-length = 99 +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 +known_django = django +known_first_party = degette,sitedg +line_length = 88 +multi_line_output = 3 +not_skip = __init__.py +sections = FUTURE,STDLIB,THIRDPARTY,DJANGO,FIRSTPARTY,LOCALFOLDER