Delete python bytecode file
This patch delete python bytecode including pyo before every test run. Change-Id: I9adfc7ddecab6b951aa659adc245ad318e46e7c6
This commit is contained in:
parent
899fe35ae7
commit
c4167f8b84
2
tox.ini
2
tox.ini
@ -16,7 +16,7 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.py[c|o]" -delete
|
||||||
bash tools/pretty_tox.sh '{posargs}'
|
bash tools/pretty_tox.sh '{posargs}'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user