summaryrefslogtreecommitdiffstats
path: root/utils/tox.ini
blob: 2524923cb0e1f1996e77d58eb1b8317fc78b6946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[tox]
minversion=2.3.1
envlist =
    py{27,35}-{flake8,unit,pylint}
skipsdist=True
skip_missing_interpreters=True

[testenv]
usedevelop=True
deps =
    -rtest-requirements.txt
    py35-flake8: flake8-bugbear
commands =
    # Needed to make detox work, since it ignores usedevelop
    # https://github.com/tox-dev/tox/issues/180
    unit: pip install -e .
    unit: pytest {posargs}
    flake8: python setup.py flake8
    pylint: python setup.py lint