2016-08-22 16:10:48 +03:00
|
|
|
[tool:pytest]
|
2016-04-08 10:21:52 +03:00
|
|
|
addopts = -vs --reuse-db --showlocals --tb=short
|
2014-11-19 19:36:40 +03:00
|
|
|
python_files=test*.py
|
|
|
|
markers =
|
|
|
|
es_tests: mark a test as an elasticsearch test.
|
2015-08-23 02:18:21 +03:00
|
|
|
norecursedirs =
|
|
|
|
node_modules locale static media site-static user-media tmp
|
|
|
|
templates fixtures migrations
|
2015-12-17 09:59:16 +03:00
|
|
|
.* *.egg dist cache venv __pycache__
|
2016-07-08 12:24:12 +03:00
|
|
|
tests/ui
|
2015-08-23 02:18:21 +03:00
|
|
|
DJANGO_SETTINGS_MODULE = settings_test
|
2015-12-08 22:11:38 +03:00
|
|
|
|
|
|
|
[flake8]
|
2016-07-20 13:50:34 +03:00
|
|
|
ignore = F999,F405
|
2015-12-08 22:11:38 +03:00
|
|
|
exclude =
|
|
|
|
services,
|
2015-12-16 11:46:10 +03:00
|
|
|
src/olympia/wsgi.py,
|
2015-12-08 22:11:38 +03:00
|
|
|
docs,
|
|
|
|
node_modules,
|
|
|
|
.npm,
|
|
|
|
build*.py
|
2015-12-08 22:15:50 +03:00
|
|
|
.tox,
|
|
|
|
media,
|
|
|
|
user-media,
|
|
|
|
logs,
|
|
|
|
tmp,
|
|
|
|
site-static,
|
|
|
|
static,
|
|
|
|
.git
|
2016-05-12 17:18:56 +03:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
branch = True
|
2016-06-21 22:49:18 +03:00
|
|
|
source =
|
|
|
|
src/olympia/
|
|
|
|
services/
|
|
|
|
include =
|
|
|
|
src/olympia/*
|
|
|
|
services/*
|
2016-05-12 17:18:56 +03:00
|
|
|
omit =
|
|
|
|
src/olympia/conf/*/settings.py
|
|
|
|
src/olympia/urls.py
|
|
|
|
src/olympia/*/urls.py
|
|
|
|
src/olympia/wsgi.py
|
|
|
|
src/olympia/*/migrations/*
|
|
|
|
|
|
|
|
[coverage:report]
|
|
|
|
ignore_errors = True
|
|
|
|
show_missing = True
|
|
|
|
exclude_lines =
|
|
|
|
pragma: no cover
|
|
|
|
|