Delete python bytecode file
This patch delete python bytecode including pyo before every test run Change-Id: I17056d291980e0b249bfcc82d64af733948fc983
This commit is contained in:
parent
61b5ef5d30
commit
5077f4006f
4
tox.ini
4
tox.ini
|
@ -6,7 +6,7 @@ envlist = py34,py27,pypy,pep8, bandit
|
|||
deps = -r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals = find
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
find . -type f -name "*.py[co]" -delete
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
[testenv:pep8]
|
||||
|
@ -14,7 +14,7 @@ commands = flake8
|
|||
|
||||
[testenv:py27]
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
find . -type f -name "*.py[co]" -delete
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
doc8 --ignore-path "doc/source/history.rst" doc/source
|
||||
|
||||
|
|
Loading…
Reference in New Issue