Ensure to remove cache files for Tox runs

This commit is contained in:
Luke Murphy 2019-05-19 12:46:32 +02:00
parent 8f882ea3ea
commit 85251cf5d4
No known key found for this signature in database
GPG key ID: 5E2EF5A63E3718CC

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 .