OpenStack Freezer Specifications.
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 711B

1234567891011121314151617181920212223242526272829303132333435
  1. [tox]
  2. minversion = 2.0
  3. envlist = docs,py27,pep8
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. setenv = VIRTUAL_ENV={envdir}
  8. install_command = pip install -U {opts} {packages}
  9. deps = -r{toxinidir}/requirements.txt
  10. whitelist_externals = find
  11. commands =
  12. find . -type f -name "*.pyc" -delete
  13. stestr run --slowest {posargs}
  14. [testenv:venv]
  15. basepython = python3
  16. commands = {posargs}
  17. [testenv:docs]
  18. basepython = python3
  19. deps = -r{toxinidir}/doc/requirements.txt
  20. commands =
  21. find . -type f -name "*.pyc" -delete
  22. python setup.py build_sphinx
  23. [testenv:pep8]
  24. basepython = python3
  25. deps = -r{toxinidir}/test-requirements.txt
  26. commands =
  27. flake8 {posargs}
  28. [flake8]
  29. ignore = E128
  30. exclude = .venv,.git,.tox,doc,.eggs