Tenant data transfer tool
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 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [tox]
  2. minversion = 2.0
  3. envlist = py35,pep8
  4. skipsdist = True
  5. [testenv]
  6. passenv = OS_*
  7. basepython = python3.5
  8. usedevelop = True
  9. install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
  10. setenv =
  11. VIRTUAL_ENV={envdir}
  12. PYTHONWARNINGS=default::DeprecationWarning
  13. deps = -r{toxinidir}/test-requirements.txt
  14. commands = python setup.py test --slowest --testr-args='{posargs}'
  15. [testenv:pep8]
  16. commands = flake8 downpour {posargs}
  17. [testenv:venv]
  18. commands = {posargs}
  19. [testenv:cover]
  20. commands = python setup.py test --coverage --testr-args='{posargs}'
  21. [testenv:docs]
  22. commands = python setup.py build_sphinx
  23. [testenv:releasenotes]
  24. commands =
  25. sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
  26. [testenv:debug]
  27. commands = oslo_debug_helper {posargs}
  28. [flake8]
  29. # E123, E125 skipped as they are invalid PEP-8.
  30. show-source = True
  31. ignore = E123,E125,H238,D101,D102
  32. builtins = _
  33. exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
  34. max-line-length = 90