Library and eponymous utility to manage the entire lifecycle of repositories
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tox.ini 902B

12345678910111213141516171819202122232425262728293031323334353637
  1. [tox]
  2. minversion = 1.6
  3. envlist = py34,py27,pep8
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. sitepackages = True
  8. install_command = pip install -U {opts} {packages}
  9. setenv =
  10. VIRTUAL_ENV={envdir}
  11. passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
  12. deps = -r{toxinidir}/test-requirements.txt
  13. commands = python setup.py test --slowest --testr-args='{posargs:packetary}'
  14. [testenv:pep8]
  15. commands = flake8 {posargs:packetary}
  16. [testenv:venv]
  17. commands = {posargs:packetary}
  18. [testenv:cover]
  19. commands = python setup.py test --coverage --testr-args='{posargs:packetary}'
  20. [testenv:docs]
  21. commands = python setup.py build_sphinx
  22. [testenv:debug]
  23. commands = oslo_debug_helper {posargs:packetary}
  24. [flake8]
  25. # E123, E125 skipped as they are invalid PEP-8.
  26. show-source = True
  27. ignore = E123,E125
  28. builtins = _
  29. exclude=*egg,*lib/python*,*openstack/common*,.git,.idea,.tox,.venv,build,dist,doc