summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 84ed81de7ef12125185376457548f0c0d1c952f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
downloadcache = {toxworkdir}/cache/
envlist =
    py36,
    py37,
    py38,
    py39,

[testenv]
basepython =
    py36: python3.6
    py37: python3.7
    py38: python3.8
    py39: python3.9
commands =
    pip install -e .
    # actual flake8 test
    flake8 sshuttle tests
    # flake8 complexity warnings
    flake8 sshuttle tests --exit-zero --max-complexity=10
    pytest
deps =
    -rrequirements-tests.txt