-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (35 loc) · 870 Bytes
/
tox.ini
File metadata and controls
37 lines (35 loc) · 870 Bytes
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
[tox]
skipsdist = True
envlist =
{py35}-django-22
{py36}-django-{22,30,31,32}
{py37}-django-{22,30,31,32}
{py38}-django-{22,30,31,32,40}
{py39}-django-{22,30,31,32,40}
{py310}-django-{32,40}
py310-flake8
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
deps =
coverage>=3,<4
flake8: flake8>=2.0,<3.0
django: coveralls
django-22: Django>=2.2,<2.3
django-30: Django>=3.0,<3.1
django-31: Django>=3.1,<3.2
django-32: Django>=3.2,<4.0
django-40: Django>=4.0,<4.1
commands =
flake8: flake8 admin_watchdog --ignore=E501
django: coverage run --parallel-mode {toxinidir}/runtests.py {posargs}
django: - coveralls
[testenv:docs]
basepython = python
changedir = doc
deps =
sphinx
sphinx_rtd_theme
Django>=3.2,<4.0
commands =
sphinx-build -W -b html -d build/doctrees . build/html