-
-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathsetup.cfg
50 lines (46 loc) · 1.44 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[tool:pytest]
DJANGO_SETTINGS_MODULE=pretalx.common.settings.test_settings
testpaths = tests
filterwarnings =
ignore:smart_text::compressor:115
ignore:smart_text::compressor:177
ignore:The providing_args argument is deprecated::compressor:4
ignore:Using a boolean value for requires_system_checks is deprecated.::django.core.management.base:
# The following is for the deprecation warning about default_app_config in third party libraries
ignore:::django.apps.registry:91
# addopts = -nauto # uncomment to run tests on all cores by default
addopts = -p no:doctest -p no:pastebin -p no:nose --cov=./
[coverage:run]
branch = True
source = pretalx
omit = */admin.py
*/local/*
*/migrations/*
*/settings*
*/urls.py
*/manage.py
*/setup.py
*/wsgi.py
*/__init__.py
*/__main__.py
*/celery_app.py
*/screenshots/*
[coverage:report]
exclude_lines = pragma: no cover
def __str__
der __repr__
if settings.DEBUG
NOQA
NotImplementedError
[isort]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
known_first_party = pretalx
skip = migrations,settings.py,wsgi.py,celery_app.py,test_settings.py,.tox,local
[flake8]
ignore = E203, E231, E266, E501, W503, W605, B028
max-line-length = 160
exclude = migrations,static,_static,build,*settings.py,.tox/*,local