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
|
[tox]
# Note that only environments where you have a suitable version of
# python-apt installed on the host system will work.
envlist =
lint
py33
py34
py35
py36
py37
py38
py39
py310
[testenv]
sitepackages = true
deps = .[test]
commands =
python -m unittest {posargs:discover}
[testenv:lint]
deps =
virtualenv
pre-commit
skip_install = true
# Work around https://github.com/tox-dev/tox/pull/2378.
passenv =
HOME
http_proxy
https_proxy
commands = pre-commit run -a
|