summaryrefslogtreecommitdiffstats
path: root/utils/tox.ini
blob: 2a29d1525d924395e21f4445fdd6b4fd7c0217de (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
    flake8: python setup.py flake8
    pylint: python setup.py lint