2018-02-27 23:12:01 +01:00
|
|
|
[flake8]
|
|
|
|
ignore = N802,W503,E402
|
|
|
|
max-line-length = 160
|
|
|
|
exclude = migrations,.ropeproject,static,_static,build
|
|
|
|
|
|
|
|
[isort]
|
|
|
|
combine_as_imports = true
|
|
|
|
default_section = THIRDPARTY
|
|
|
|
include_trailing_comma = true
|
|
|
|
known_third_party = pretix
|
|
|
|
known_standard_library = typing
|
|
|
|
multi_line_output = 5
|
|
|
|
not_skip = __init__.py
|
|
|
|
skip = setup.py
|
2023-05-29 09:22:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
[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/*
|