sshuttle/tox.ini

25 lines
427 B
INI
Raw Normal View History

2015-12-07 03:17:09 +01:00
[tox]
downloadcache = {toxworkdir}/cache/
envlist =
py35,
2018-03-16 08:27:50 +01:00
py36,
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
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 =
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