Slide 11
Slide 11 text
How could we use it?
How could we use it?
tox # runs tests and cleans up afterwards
# tox.ini
[testenv:clean]
commands =
py3clean {toxinidir}
find . name foo delete
rm rf .pytest_cache/ .tox/ *.egginfo
whitelist_externals =
py3clean
find
rm
# tox.ini
[tox]
envlist = py27,py37,clean
[testenv]
...
[testenv:clean]
deps = pyclean
commands = pyclean {toxinidir} debris tox