psm-site/setup.cfg

41 lignes
642 B
INI

[tool:pytest]
addopts = --ds=psm.settings.test
norecursedirs = node_modules
python_files = tests.py test_*.py
testpaths = psm
markers =
wip: mark a test as a work in progress
[coverage:run]
branch = True
source =
psm
omit =
psm/*tests*,
psm/*/migrations/*,
psm/settings/*,
psm/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