Tempest plugin for the Manila project.
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.

46 lines
1.1 KiB

  1. [tox]
  2. minversion = 2.0
  3. envlist = py3,pypy,pep8
  4. skipsdist = True
  5. [testenv]
  6. basepython = python3
  7. usedevelop = True
  8. setenv =
  9. VIRTUAL_ENV={envdir}
  10. PYTHONWARNINGS=default::DeprecationWarning
  11. OS_STDOUT_CAPTURE=1
  12. OS_STDERR_CAPTURE=1
  13. OS_TEST_TIMEOUT=60
  14. deps =
  15. -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
  16. -r{toxinidir}/requirements.txt
  17. -r{toxinidir}/test-requirements.txt
  18. # commands = python setup.py test --slowest --testr-args='{posargs}'
  19. [testenv:pep8]
  20. commands = flake8 {posargs}
  21. [testenv:venv]
  22. commands = {posargs}
  23. [testenv:docs]
  24. commands = sphinx-build -W -b html doc/source doc/build/html
  25. [testenv:releasenotes]
  26. commands =
  27. sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
  28. [testenv:debug]
  29. commands = oslo_debug_helper {posargs}
  30. [flake8]
  31. # E123, E125 skipped as they are invalid PEP-8.
  32. # W503 line break before binary operator
  33. # W504 line break after binary operator
  34. show-source = True
  35. ignore = E123,E125,W503,W504
  36. builtins = _
  37. exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build