toitcommun-site/setup.cfg

41 lignes
726 B
INI

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