-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
53 lines (45 loc) · 1008 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tox]
# envlist = py{36,37,38,39}-dj{22,30,31}
envlist = py{38}-dj{31}
[pytest]
# addopts = -ra -q
markers =
latest
[testenv]
usedevelop = true
commands =
pip install django channels channels-redis
pip install -e {toxinidir}
py.test -vv --cov src --strict-markers -r fEsxXw {posargs:tests}
deps =
pytest
pytest-django
codecov
coverage
pytest-cov
pytest-mock
mock
setenv =
DEBUG=1
PIP_ALLOW_EXTERNAL=true
DJANGO_SETTINGS_MODULE=ryzom_django_example.settings
# PYTHONPATH={toxinidir}/src/ryzom_django_example{:}{toxinidir}/src/ryzom{:}{toxinidir}/src
[testenv:qa]
commands =
flake8 --show-source --max-complexity=8 --exclude migrations \
src/ --builtins=ModuleNotFoundError
deps =
flake8
mccabe
[testenv:docs]
deps =
changedir = {toxinidir}/docs/source
commands =
pip install -r requirements.txt
make html
whitelist_externals =
make
[flake8]
# exclude = ryzom_example,todos
putty-auto-ignore = true
putty-ignore =