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