forked from openedx/edx-ora2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
44 lines (39 loc) · 830 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
[tox]
envlist = py35-django{22}, py38-django{22,30}
[testenv]
deps =
-rrequirements/test.txt
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
commands =
pytest
[testenv:js]
whitelist_externals = make
deps =
-rrequirements/test.txt
Django>=2.2,<2.3
commands =
make install-js
make javascript
make sass
make test-js
[testenv:quality]
whitelist_externals =
make
npm
deps =
-rrequirements/test.txt
-rrequirements/quality.txt
-rrequirements/test-acceptance.txt
commands =
npm install jshint --no-save
make quality
# python manage.py makemessages -l eo
# make check_translations_up_to_date
# make validate_translations
[flake8]
max-line-length = 120
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 openassessment submissions