diff --git a/tox.ini b/tox.ini index 33b4bc6e..fc4f75ec 100644 --- a/tox.ini +++ b/tox.ini @@ -15,15 +15,18 @@ commands = ostestr {posargs} sitepackages = True [testenv:pep8] +basepython = python3 whitelist_externals = bash commands = bash -c 'pycodestyle pyghmi bin/*' [testenv:cover] +basepython = python3 setenv = VIRTUAL_ENV={envdir} commands = python setup.py testr --coverage [testenv:venv] +basepython = python3 commands = {posargs} [flake8]