Delete python bytecode file
This patch delete python bytecode including pyo before every test run Change-Id: I837d85a53e159b132da20a56d926c2158c204dec
This commit is contained in:
parent
d3884f9012
commit
fe4c4be5c5
4
tox.ini
4
tox.ini
@ -13,7 +13,7 @@ install_command = pip install -U {opts} {packages}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
whitelist_externals = find
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
find . -type f -name "*.py[c|o]" -delete
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
[testenv:venv]
|
||||
@ -21,7 +21,7 @@ commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
find . -type f -name "*.py[c|o]" -delete
|
||||
python setup.py build_sphinx
|
||||
|
||||
[testenv:pep8]
|
||||
|
Loading…
x
Reference in New Issue
Block a user