Ensure to remove cache files for Tox runs #179

Merged
witten merged 1 commits from :cifix/tox-clean-up into master 2019-05-19 17:07:11 +00:00
1 changed files with 5 additions and 1 deletions

View File

@ -7,9 +7,13 @@ minversion = 3.10.0
[testenv]
usedevelop = True
deps = -rtest_requirements.txt
whitelist_externals = sh
whitelist_externals =
find
sh
install_command =
sh scripts/pip {opts} {packages}
commands_pre =
find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -path '*/__pycache__/*' -name '*.py[c|o]' -delete
commands =
pytest
py36,py37: black --check .