summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 2ea72f4c2cc9913a54ec7d45d70801f7fd3ccf11 (plain)
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
26
27
28
29
30
31
32
[tox]
minversion = 2.4
envlist =
    isort-check,
    lint,
    mypy,
    py{34,35,36,37,py3}

[testenv]
deps =
    pytest
extras =
    pipfile
    pyproject
    requirements
commands = py.test -vv -s test_isort.py {posargs}

[testenv:isort-check]
basepython = python3
commands = python setup.py isort

[testenv:lint]
deps = flake8==3.7.6
commands = flake8
skip_install = True

[testenv:mypy]
basepython = python3
deps = -r{toxinidir}/mypy-requirements.txt
commands =
    mypy .
skip_install = True