monasca-ceilometer/tox.ini

35 lines
715 B
INI

[tox]
envlist = py34,pep8,py27
minversion = 1.6
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