Configuration des outils

This commit is contained in:
Tom Hubrecht 2020-12-17 10:34:24 +01:00
parent 66015fa88d
commit 80a8ba7c4d

17
setup.cfg Normal file
View file

@ -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