A library containing standardized trait strings. Used by nova's placement service and clients to ensure consistency.
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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [tox]
  2. minversion = 2.0
  3. envlist = py{27,36,37},pep8
  4. [testenv]
  5. install_command = pip install {opts} {packages}
  6. whitelist_externals =
  7. rm
  8. deps =
  9. -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
  10. -r{toxinidir}/test-requirements.txt
  11. commands = stestr run --slowest {posargs}
  12. [testenv:pep8]
  13. basepython = python3
  14. commands = flake8 {posargs}
  15. [testenv:venv]
  16. basepython = python3
  17. commands = {posargs}
  18. [testenv:docs]
  19. basepython = python3
  20. deps =
  21. -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
  22. -r{toxinidir}/doc/requirements.txt
  23. commands =
  24. rm -rf doc/build
  25. sphinx-build -W -b html doc/source doc/build/html
  26. [testenv:releasenotes]
  27. basepython = python3
  28. deps =
  29. {[testenv:docs]deps}
  30. commands =
  31. rm -rf releasenotes/build
  32. sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
  33. [testenv:debug]
  34. basepython = python3
  35. commands = oslo_debug_helper {posargs}
  36. [flake8]
  37. # E123, E125 skipped as they are invalid PEP-8.
  38. show-source = True
  39. ignore = E123,E125,H405
  40. builtins = _
  41. exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build