Merge "Delete python bytecode before every test run"
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -16,7 +16,9 @@ usedevelop = True
|
|||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install -U {opts} {packages}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py testr --testr-args='{posargs}'
|
commands = find . -type f -name "*.pyc" -delete
|
||||||
|
python setup.py testr --testr-args='{posargs}'
|
||||||
|
whitelist_externals = find
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
Reference in New Issue
Block a user