aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 1785f0f8e9578d77b92848e0c6c67cab3701fb1f (plain) (blame)
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
# Tox configuration file
# Read more under https://tox.readthedocs.org/

[tox]
minversion = 1.8
envlist = py37,py38,flake8
skip_missing_interpreters = True

[testenv]
usedevelop = True
changedir = tests
commands =
    py.test {posargs}

[testenv:flake8]
skip_install = True
changedir = {toxinidir}
commands = flake8 setup.py git_deps tests

# Options for pytest
[pytest]
addopts = -rsxXf

[testenv:sdist]
usedevelop = False