summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 810baddc360a34fce372ebded775651c6164a06f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = flake8, py{37, 38, 39, 310, 311}

[testenv]
commands = {envpython} -m pytest --cov smmap --cov-report xml {posargs}
deps =
    pytest
    pytest-cov

[testenv:flake8]
commands = flake8 {posargs}
deps = flake8