Integration between Monasca and Ceilometer
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 676B

12345678910111213141516171819202122232425262728293031323334
  1. [tox]
  2. envlist = py36,pep8,py27
  3. minversion = 1.8
  4. skipsdist = True
  5. [testenv]
  6. setenv = VIRTUAL_ENV={envdir}
  7. usedevelop = True
  8. install_command = pip install -U {opts} {packages}
  9. deps = -r{toxinidir}/test-requirements.txt
  10. commands = find . -type f -name "*.pyc" -delete
  11. python monasca_test_setup.py
  12. stestr run --serial {posargs}
  13. whitelist_externals = bash
  14. find
  15. [testenv:pep8]
  16. basepython = python3
  17. commands =
  18. flake8
  19. [testenv:venv]
  20. basepython = python3
  21. commands = {posargs}
  22. [flake8]
  23. max-line-length = 100
  24. exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
  25. show-source = True
  26. [hacking]
  27. import_exceptions =
  28. ceilometer.i18n