forked from openedx/xblock-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
33 lines (28 loc) · 738 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
[tox]
envlist = py35-django22,py38-django{22,30}
[pycodestyle]
exclude = .git,.tox,migrations
max-line-length = 120
[pytest]
DJANGO_SETTINGS_MODULE = workbench.settings
addopts = --cov workbench --cov sample_xblocks --cov-report term-missing --cov-report xml
norecursedirs = .* doc bin prototype screenshots requirements
[testenv]
whitelist_externals =
make
deps =
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
-r{toxinidir}/requirements/test.txt
passenv =
DISPLAY
BOTO_CONFIG
commands =
make var/workbench.db
python -Wd -m pytest {posargs}
[testenv:quality]
deps =
-r{toxinidir}/requirements/quality.txt
commands =
pylint workbench sample_xblocks
isort --check-only --recursive .