File: tox.ini

package info (click to toggle)
django-tables 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,764 kB
  • sloc: python: 7,152; makefile: 132; sh: 74
file content (46 lines) | stat: -rw-r--r-- 951 bytes parent folder | download
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
[tox]
args_are_paths = false
envlist =
    py310-{4.2,5.1,5.2},
    py311-{4.2,5.1,5.2},
    py312-{4.2,5.1,5.2,6.0,main},
    py313-{4.2,5.1,5.2,6.0,main},
    py314-{5.2,6.0,main},
    docs,
    flake8,
    isort,

[testenv]
basepython =
    py310: python3.10
    py311: python3.11
    py312: python3.12
    py313: python3.13
    py314: python3.14
usedevelop = true
pip_pre = true
setenv =
    PYTHONPATH={toxinidir}
    PYTHONWARNINGS=all
commands =
    coverage run --source=django_tables2 manage.py test {posargs}
deps =
    4.2: Django==4.2.*
    5.1: Django==5.1.*
    5.2: Django==5.2.*
    6.0: Django>=6.0a1,<6.1
    main: https://github.com/django/django/archive/main.tar.gz
    coverage
    -r{toxinidir}/requirements/common.pip

[testenv:docs]
basepython = python3.11
whitelist_externals = make
changedir = docs
setenv =
    PYTHONWARNINGS=default
commands =
    make html
    make spelling
deps =
    -r{toxinidir}/docs/requirements.txt