2023-12-14 01:07:56 +01:00
|
|
|
[isort]
|
|
|
|
multi_line_output=3
|
|
|
|
include_trailing_comma=True
|
|
|
|
force_grid_wrap=0
|
|
|
|
use_parentheses=True
|
|
|
|
line_length=88
|
|
|
|
known_first_party=pretalx_musicrate
|
|
|
|
known_third_party=pretalx
|
|
|
|
combine_as_imports=True
|
|
|
|
default_section = THIRDPARTY
|
|
|
|
|
|
|
|
[tool:pytest]
|
|
|
|
DJANGO_SETTINGS_MODULE=pretalx.common.settings.test_settings
|
|
|
|
|
|
|
|
[check-manifest]
|
|
|
|
ignore =
|
|
|
|
Makefile
|
|
|
|
LICENSE
|
2023-12-14 02:08:05 +01:00
|
|
|
README.md
|
2023-12-14 01:07:56 +01:00
|
|
|
.gitkeep
|
2023-12-14 02:08:05 +01:00
|
|
|
.drone.yml
|
2023-12-14 01:07:56 +01:00
|
|
|
|
|
|
|
[flake8]
|
|
|
|
ignore = E203, E231, E266, E501, W503, W605
|
|
|
|
max-line-length = 160
|
2023-12-14 02:08:05 +01:00
|
|
|
exclude = migrations,static,_static,build,*settings.py,.tox/*,local,.venv/*
|
2023-12-14 01:07:56 +01:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
branch = True
|
|
|
|
source = pretalx_musicrate
|
2023-12-14 02:08:05 +01:00
|
|
|
omit = */migrations/*,*/urls.py,*/tests/*,.venv/*
|
2023-12-14 01:07:56 +01:00
|
|
|
|
|
|
|
[coverage:report]
|
|
|
|
exclude_lines =
|
|
|
|
pragma: no cover
|
|
|
|
def __str__
|
|
|
|
der __repr__
|
|
|
|
if settings.DEBUG
|
|
|
|
NOQA
|
|
|
|
NotImplementedError
|