Simple library for parsing OpenStack microversion headers.
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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [tox]
  2. minversion = 2.0
  3. skipsdist = True
  4. # If you want pypy or pypy3, do 'tox -epypy,pypy3', it might work!
  5. # And you can get coverage with 'tox -ecover'.
  6. envlist = py27,py36,py35,pep8
  7. [testenv]
  8. deps = -r{toxinidir}/requirements.txt
  9. -r{toxinidir}/test-requirements.txt
  10. install_command = pip install -U {opts} {packages}
  11. usedevelop = True
  12. commands = stestr run {posargs}
  13. [testenv:venv]
  14. basepython = python3
  15. deps = -r{toxinidir}/requirements.txt
  16. -r{toxinidir}/test-requirements.txt
  17. commands = {posargs}
  18. [testenv:pep8]
  19. basepython = python3
  20. deps = hacking
  21. usedevelop = False
  22. commands =
  23. flake8
  24. [testenv:cover]
  25. basepython = python3
  26. setenv = PYTHON=coverage run --source microversion_parse --parallel-mode
  27. commands =
  28. coverage erase
  29. find . -type f -name "*.pyc" -delete
  30. stestr run {posargs}
  31. coverage combine
  32. coverage html -d cover
  33. whitelist_externals =
  34. find
  35. [testenv:docs]
  36. basepython = python3
  37. commands =
  38. rm -rf doc/build
  39. python setup.py build_sphinx
  40. whitelist_externals =
  41. rm
  42. [flake8]
  43. ignore = H405,E126
  44. exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,doc
  45. show-source = True