diff --git a/setup.cfg b/setup.cfg index 5cd9371..dc0f471 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,3 +12,32 @@ known_standard_library = typing multi_line_output = 5 not_skip = __init__.py skip = setup.py + + +[tool:pytest] +DJANGO_SETTINGS_MODULE = pretix.testutils.settings + +[coverage:run] +source = pretix_adyen +omit = */migrations/*,*/urls.py,*/tests/* + +[coverage:report] +exclude_lines = + pragma: no cover + def __str__ + der __repr__ + if settings.DEBUG + NOQA + NotImplementedError + +[check-manifest] +ignore = + .update-locales + .update-locales.sh + .gitlab-ci.yml + .install-hooks.sh + pretixplugin.toml + Makefile + pytest.ini + manage.py + tests/*