2015-12-07 03:17:09 +01:00
|
|
|
[tox]
|
|
|
|
downloadcache = {toxworkdir}/cache/
|
|
|
|
envlist =
|
|
|
|
py35,
|
2018-03-16 08:27:50 +01:00
|
|
|
py36,
|
2020-05-20 23:18:40 +02:00
|
|
|
py37,
|
|
|
|
py38,
|
2020-12-28 01:01:07 +01:00
|
|
|
py39,
|
2015-12-07 03:17:09 +01:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
basepython =
|
2018-03-16 08:27:50 +01:00
|
|
|
py36: python3.6
|
2020-05-20 23:18:40 +02:00
|
|
|
py37: python3.7
|
|
|
|
py38: python3.8
|
2020-12-28 01:01:07 +01:00
|
|
|
py39: python3.9
|
2015-12-07 03:17:09 +01:00
|
|
|
commands =
|
2019-02-10 23:59:13 +01:00
|
|
|
pip install -e .
|
|
|
|
# actual flake8 test
|
|
|
|
flake8 sshuttle tests
|
|
|
|
# flake8 complexity warnings
|
|
|
|
flake8 sshuttle tests --exit-zero --max-complexity=10
|
|
|
|
pytest
|
2015-12-07 03:17:09 +01:00
|
|
|
deps =
|
2018-03-16 08:27:50 +01:00
|
|
|
-rrequirements-tests.txt
|