Store coverage config in setup.cfg

Less is more. Unify tooling configuration in one file.
This commit is contained in:
Dani Hodovic 2020-04-12 21:40:02 +03:00
parent f5aa06c160
commit 83934f3d86
No known key found for this signature in database
GPG Key ID: 15433E10A71D1221
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +0,0 @@
[run]
include = {{cookiecutter.project_slug}}/*
omit = *migrations*, *tests*
plugins =
django_coverage_plugin

View File

@ -21,3 +21,9 @@ 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