forked from openedx/xblock-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (31 loc) · 858 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
[tox]
envlist = {py27,py36,py37}-django111,{py36,py37}-django{20,21}
[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 =
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
-r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/local.txt
passenv =
DISPLAY
BOTO_CONFIG
commands =
make var/workbench.db
pytest {posargs}
[testenv:quality]
deps =
-r{toxinidir}/requirements/quality.txt
-r{toxinidir}/requirements/test.txt
commands =
pylint workbench sample_xblocks
isort --check-only --recursive .