Configuration des outils
This commit is contained in:
parent
66015fa88d
commit
80a8ba7c4d
1 changed files with 17 additions and 0 deletions
17
setup.cfg
Normal file
17
setup.cfg
Normal 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
|
Loading…
Reference in a new issue