-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
26 lines (22 loc) · 985 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[metadata]
description-file = README.md
[flake8]
max-line-length = 120
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,build
ignore = F405, E501, W503
[isort]
line_length=120
default_section = THIRDPARTY
known_third_party = celery,corsheaders,django*,drf*,environ,fontawesome_5,graphene,grapple,modelcluster,requests,rest*,storages,wagtail*,whitenoise
known_first_party = backend,api,app,settings,test,utils
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
no_lines_before = THIRDPARTY, LOCALFOLDER
lines_after_imports=2
# These are necessary for `isort` to create import statements that are
# compatible with `black`. Changing these will break our auto-formatting.
# See <https://black.readthedocs.io/en/stable/the_black_code_style.html>.
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
# [tool:pytest] Do not put pytest cfg here - see warning in https://docs.pytest.org/en/latest/customize.html#setup-cfg