summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 414fda5e5f01d730352b58b42ca5e8450a1a49d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[tox]
envlist =
    lint
    py{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