-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
43 lines (37 loc) · 877 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
[tox]
envlist = py{38,311,312}-django{42},quality,translations
[pycodestyle]
exclude = .git,.tox
[pytest]
# Use the workbench settings file.
DJANGO_SETTINGS_MODULE = workbench.settings
addopts = --cov-report term-missing --cov-report xml
filterwarnings =
ignore::DeprecationWarning
ignore::FutureWarning
[coverage:run]
omit = ai_eval/translations/settings.py
[testenv]
allowlist_externals =
make
mkdir
deps =
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
commands =
mkdir -p var
pytest --cov ai_eval
[testenv:quality]
deps =
-r{toxinidir}/requirements/quality.txt
commands =
pycodestyle ai_eval setup.py --max-line-length=120
pylint ai_eval
[testenv:translations]
allowlist_externals =
make
deps =
Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
commands =
make check_translations_up_to_date