mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 18:14:01 +03:00
2993bbf78f
Upgrade to Python 3.8
30 lines
703 B
INI
30 lines
703 B
INI
[flake8]
|
|
max-line-length = 120
|
|
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
|
|
|
[pycodestyle]
|
|
max-line-length = 120
|
|
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
|
|
|
[mypy]
|
|
python_version = 3.8
|
|
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
|
|
|
|
[mypy.plugins.django-stubs]
|
|
django_settings_module = config.settings.test
|
|
|
|
[mypy-*.migrations.*]
|
|
# Django migrations should not produce any errors:
|
|
ignore_errors = True
|
|
|
|
[coverage:run]
|
|
include = {{cookiecutter.project_slug}}/*
|
|
omit = *migrations*, *tests*
|
|
plugins =
|
|
django_coverage_plugin
|