releases/tox.ini
Doug Hellmann 2382b08607 Add old deliverable files
Add deliverable files for existing releases, including the script used
to generate them from launchpad and git data. This data is known to be
incomplete, and is meant as a starting point for reconstructing the full
history.

The output from running the script [1] shows that many projects we
expected to treat as deliverables do not yet have a launchpad page.

[1] http://paste.openstack.org/show/336176

Change-Id: I1a64c8b6b99ec575c00c1ebad93a5f6dc70c9718
2015-07-14 20:59:27 +00:00

48 lines
1.4 KiB
INI

[tox]
minversion = 1.6
envlist = py27,pep8,bashate
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
--allow-external lazr.authentication
--allow-insecure lazr.authentication
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
[testenv:pep8]
deps = flake8
commands = flake8
[testenv:bashate]
deps = bashate
whitelist_externals = bash
commands = bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs
-type f \ # only files
-not -name \*~ \ # skip editors, readme, etc
-not -name \*.md \
-name \*.sh \
-print0 | xargs -0 bashate -v"
[testenv:venv]
commands = {posargs}
[testenv:history]
commands = {toxinidir}/tools/build_tag_history.sh {toxinidir}
[testenv:cover]
#commands = python setup.py testr --coverage --testr-args='{posargs}'
[flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.
# E501 skipped because some of the code files include templates
# that end up quite wide
show-source = True
ignore = E123,E125,H803,E501
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,release-tag-*