From: Tomi Juvonen Date: Mon, 8 Apr 2019 17:06:31 +0000 (+0300) Subject: Fix tox to clean python cache X-Git-Tag: opnfv-9.0.0~3^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=doctor.git;a=commitdiff_plain;h=235730febc8e7d2f18a6a397d56f2a341688305a Fix tox to clean python cache Change-Id: I237ca87390966e66d3f908dcd9e7dc9cfcf35a9a Signed-off-by: Tomi Juvonen --- diff --git a/tox.ini b/tox.ini index 2242637d..8f734fcd 100644 --- a/tox.ini +++ b/tox.ini @@ -34,6 +34,7 @@ passenv = SSH_KEY changedir = {toxinidir}/doctor_tests commands = doctor-test + /bin/find {toxinidir} -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete [testenv:pep8] changedir = {toxinidir}