Tools to make Grafana dashboards from templates
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 869B

12345678910111213141516171819202122232425262728293031323334353637
  1. [tox]
  2. minversion = 1.6
  3. envlist = docs,pep8,py27,py34
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. install_command = pip install -U {opts} {packages}
  8. setenv =
  9. VIRTUAL_ENV={envdir}
  10. deps = -r{toxinidir}/requirements.txt
  11. -r{toxinidir}/test-requirements.txt
  12. commands = python setup.py test --slowest --testr-args='{posargs}'
  13. [testenv:pep8]
  14. commands = flake8
  15. [testenv:venv]
  16. commands = {posargs}
  17. [testenv:cover]
  18. commands =
  19. coverage erase
  20. python setup.py test --coverage --coverage-package-name=grafana_dashboards --testr-args='{posargs}'
  21. coverage report
  22. [testenv:docs]
  23. commands = python setup.py build_sphinx
  24. [flake8]
  25. # E123, E125 skipped as they are invalid PEP-8.
  26. # H202 skip until we actually write our own exceptions
  27. show-source = True
  28. ignore = E123,E125,H202
  29. builtins = _
  30. exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build