Newer
Older
Stefan Bunde
committed
[tox]
envlist = py35,flake8
[pytest]
addopts =
--ds=castellum_core.settings
--cov=castellum_core
--cov-report term-missing
--cov-report html
--cov-fail-under=80
Stefan Bunde
committed
[flake8]
exclude=
.git,
.env,
.tox,
node_modules,
wsgi.py,
migrations,
Stefan Bunde
committed
max-line-length=100
[testenv]
setenv =
PYTHONPATH = {toxinidir}/castellum_core:{env:PYTHONPATH:}
commands =
pytest tests/
Stefan Bunde
committed
[testenv:flake8]
deps = flake8
commands = flake8