-
Notifications
You must be signed in to change notification settings - Fork 14
/
tox.ini
48 lines (43 loc) · 994 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
[tox]
envlist = py312-django{30, 32, 40}
[testenv]
commands = {envpython} -m pytest {posargs}
deps =
django30: Django >= 3.0, <3.1
-rtest_requirements.txt
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
usedevelop = True
passenv = HOME
[testenv:coverage]
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
basepython = python3.9
usedevelop = True
commands =
{envpython} -m pytest --cov django_fastdev --cov tests --cov-config .coveragerc {posargs}
{envpython} -m coverage report -m
{envpython} -m coverage html
deps =
Django >= 2.2, <2.3
coverage
pytest-cov
-rtest_requirements.txt
[testenv:lint]
basepython = python3.9
usedevelop = True
commands =
{envpython} -m flake8 lib/tri tests setup.py {posargs}
deps =
Django >= 2.2, <2.3
flake8
[testenv:venv]
envdir = venv
usedevelop = True
basepython = python3.12
commands = {posargs:python --version}
deps =
Django >= 4.2, < 6.0
-rtest_requirements.txt
whitelist_externals =
make