bifurqué depuis cliss21/chronos
41 lignes
706 B
INI
41 lignes
706 B
INI
[tool:pytest]
|
|
addopts = --ds=chronos.settings.test
|
|
norecursedirs = node_modules
|
|
python_files = tests.py test_*.py
|
|
testpaths = chronos
|
|
markers =
|
|
wip: mark a test as a work in progress
|
|
|
|
[coverage:run]
|
|
branch = True
|
|
source = chronos/
|
|
omit =
|
|
chronos/*/migrations/*,
|
|
chronos/*tests*,
|
|
chronos/settings/*,
|
|
chronos/conftest.py
|
|
chronos/wsgi.py
|
|
|
|
[coverage:report]
|
|
exclude_lines =
|
|
pragma: no cover
|
|
if settings.DEBUG:
|
|
raise AssertionError
|
|
raise NotImplementedError
|
|
show_missing = True
|
|
|
|
[flake8]
|
|
exclude =
|
|
.git,
|
|
.tox,
|
|
venv,
|
|
*/migrations/*,
|
|
*/static/*,
|
|
assets,
|
|
build,
|
|
dist,
|
|
node_modules
|
|
per-file-ignores =
|
|
urls.py: BLK
|
|
max-line-length = 80
|