cookiecutter-django/{{cookiecutter.project_slug}}/setup.cfg

30 lines
713 B
INI
Raw Normal View History

[flake8]
max-line-length = 120
2020-08-29 06:53:24 +03:00
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
2015-09-26 10:47:44 +03:00
[pycodestyle]
2015-09-26 10:47:44 +03:00
max-line-length = 120
2020-08-29 06:53:24 +03:00
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
2018-07-02 10:22:48 +03:00
[mypy]
2020-03-29 20:55:27 +03:00
python_version = 3.8
2018-07-02 10:22:48 +03:00
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
2018-07-02 10:22:48 +03:00
[mypy.plugins.django-stubs]
django_settings_module = config.settings.test
2018-07-02 10:22:48 +03:00
[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