summaryrefslogtreecommitdiff
path: root/tox.ini
blob: eb5c50789cce896dc0587adcc6f7997177dbb2ff (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
[tox]
envlist = py34, py35, py36, py37, lint, typing
skip_missing_interpreters = True

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/netdisco
deps =
    -r{toxinidir}/requirements.txt
    pytest
commands =
  py.test

[testenv:lint]
deps =
    flake8
    pylint
commands =
     flake8 netdisco tests setup.py example_service.py
     pylint netdisco tests

[testenv:typing]
deps =
    mypy==0.650
commands =
    mypy netdisco tests setup.py example_service.py