summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorTomi Juvonen <tomi.juvonen@nokia.com>2019-04-08 20:06:31 +0300
committerTomi Juvonen <tomi.juvonen@nokia.com>2019-04-15 10:13:10 +0000
commitb19b69d731cfb5a87f7c928cc898ea04ec85cec6 (patch)
tree423da1c73157fc90b687e02034e80ce88670c692 /tox.ini
parent73605c5c34b97ab56306bfa9af0f5888f3c7e46d (diff)
Fix tox to clean python cache
Change-Id: I237ca87390966e66d3f908dcd9e7dc9cfcf35a9a Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com> (cherry picked from commit 235730febc8e7d2f18a6a397d56f2a341688305a)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
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}