[tox] envlist = py35,pep8,py27 minversion = 1.8 skipsdist = True [testenv] basepython = /usr/bin/python setenv = VIRTUAL_ENV={envdir} usedevelop = True install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/test-requirements.txt commands = find . -type f -name "*.pyc" -delete python monasca_test_setup.py stestr run --serial {posargs} whitelist_externals = bash find [testenv:pep8] commands = flake8 python setup.py check --restructuredtext --strict [testenv:venv] commands = {posargs} [flake8] max-line-length = 100 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build show-source = True [hacking] import_exceptions = ceilometer.i18n