os-win/tox.ini
Claudiu Belu ca59942bd3 Rename project to os-win
os_win will be the official name of the project. Updates the
name accordingly.

Change-Id: Ia284925cf9d940ac2f4ad9124f8b881af186091f
2015-09-17 05:21:49 -07:00

40 lines
911 B
INI

[tox]
minversion = 1.6
envlist = py34,py27,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
max-complexity=25
[hacking]
local-check-factory = os_win._hacking.checks.factory
import_exceptions = os_win._i18n