aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMD NADEEM <mail2nadeem92@gmail.com>2016-09-20 12:09:30 +0530
committerMD NADEEM <mail2nadeem92@gmail.com>2016-09-20 12:09:30 +0530
commit92c828b99c9dd923d89cd62e8b4f66df165b0f0a (patch)
tree88df638219f9372d65e8c206c2ad5d6557419839
parentaf9ea973e81b3376ae7e434e7724b2957786783b (diff)
downloadkolla-92c828b99c9dd923d89cd62e8b4f66df165b0f0a.tar.gz
kolla-92c828b99c9dd923d89cd62e8b4f66df165b0f0a.zip
Remove all bytcode & objectcode before running tox
Currently __pycache__ directory, which also holds python bytecode is not deleted when running tox. TrivialFix Change-Id: I0fdcf9a3f9b01cee813eefdbfe29d208dd67f826
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index d627b630f..b188089a0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,7 +14,8 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE OS_TEST_TIMEOUT
PYTHON OS_TEST_PATH LISTOPT IDOPTION
commands =
- find . -type f -name "*.pyc" -delete
+ find . -type f -name "*.py[c|o]" -delete
+ find . -type d -name "__pycache__" -delete
python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]