Commit b469ec19 authored by John Kirkwood's avatar John Kirkwood

Tox speedup - ignore node_modules dir (and others).

parent e2b97463
[tox]
envlist = py{,36,37}
[pytest]
norecursedirs = node_modules docs *.egg-info .git .tox
[testenv]
usedevelop = true
usedevelop = True
commands =
pip install -e {toxinidir}[dev,test]
py.test -vv --cov chp --strict -r fEsxXw {posargs:chp}
py.test --reuse-db -vv --cov chp --strict -r fEsxXw {posargs:chp}
setenv =
DEBUG=1
PIP_ALLOW_EXTERNAL=true
PIP_ALLOW_EXTERNAL=True
DJANGO_SETTINGS_MODULE=chp.django.example.settings
[testenv:qa]
commands =
flake8 --show-source --max-complexity=8 --exclude migrations chp --builtins=ModuleNotFoundError
flake8 --show-source --max-complexity=8 --exclude migrations chp --builtins=ModuleNotFoundError {posargs}
deps =
flake8<3
mccabe
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment