-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
51 lines (39 loc) · 1.11 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[flake8]
# Recommend matching the black line length (default 88),
# rather than using the flake8 default of 79:
max-line-length = 88
exclude=migrations,node_modules,data,dbdump,.pytest_cache,.git,__pycache__,.mypy_cache
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
[isort]
profile = black
multi_line_output = 3
default_section = THIRDPARTY
known_first_party = lpld # change it for the name of your django project
known_django = django
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
python_version = 3.9
plugins =
mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = "lpld.settings"
[mypy-*.migrations.*]
ignore_errors = True
[mypy-debug_toolbar.*]
ignore_missing_imports = True
[mypy-factory.*]
ignore_missing_imports = True
[mypy-modelcluster.*]
ignore_missing_imports = True
[mypy-taggit.*]
ignore_missing_imports = True
[mypy-wagtail.*]
ignore_missing_imports = True
[mypy-wagtail_factories.*]
ignore_missing_imports = True
[mypy-wagtailmarkdown.*]
ignore_missing_imports = True
[mypy-wagtailmedia.*]
ignore_missing_imports = True