[tox] envlist = pep8,py37 minversion = 1.8 skipsdist = True [testenv] basepython = python3 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 [testenv:venv] commands = {posargs} [flake8] max-line-length = 100 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build show-source = True ignore = E402,W504 [hacking] import_exceptions = ceilometer.i18n