-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.cfg
More file actions
34 lines (29 loc) · 814 Bytes
/
setup.cfg
File metadata and controls
34 lines (29 loc) · 814 Bytes
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
[flake8]
max-line-length = 120
exclude = .git,venv
[pycodestyle]
max-line-length = 120
exclude = .git,venv
[isort]
line_length = 88
;known_first_party = {{cookiecutter.project_slug}},config
multi_line_output = 3
default_section = THIRDPARTY
skip = venv/
;skip_glob = **/migrations/*.py
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
;[mypy]
;python_version = 3.9
;check_untyped_defs = True
;ignore_missing_imports = True
;warn_unused_ignores = True
;warn_redundant_casts = True
;warn_unused_configs = True
;plugins = mypy_django_plugin.main{% if cookiecutter.use_drf == "y" %}, mypy_drf_plugin.main{% endif %}
;[mypy.plugins.django-stubs]
;django_settings_module = config.settings.test
;[mypy-*.migrations.*]
;# Django migrations should not produce any errors:
;ignore_errors = True