summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 13b3e90c5af8ed60bd4397f6d4f17ec8a6fa1489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[tox]
envlist =
    lint
    py{27, 36, 37, 38, 39, 310, py3}

[testenv]
deps =
commands =
    {envpython} setup.py test
    pip install --quiet coverage
    {envpython} setup.py clean --all
    coverage run setup.py test
    coverage xml

[testenv:lint]
deps = pre-commit
commands = pre-commit run --all-files
skip_install = true
passenv = PRE_COMMIT_COLOR