From d59663e505ad1ea662c1c19f37fa068da47b6e9e Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 29 May 2023 09:22:41 +0200 Subject: [PATCH] Update setup.cfg --- setup.cfg | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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/*