Monasca Specifications
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 933B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [tox]
  2. minversion = 2.7
  3. envlist = docs,pep8
  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. [testenv:venv]
  13. basepython = python3
  14. commands = {posargs}
  15. [testenv:docs]
  16. basepython = python3
  17. commands = sphinx-build -W -b html doc/source doc/build/html
  18. [testenv:pep8]
  19. basepython = python3
  20. description = Runs set of linters against codebase (checkniceness)
  21. commands = {[testenv:checkniceness]commands}
  22. [testenv:checkniceness]
  23. basepython = python3
  24. description = Validates (pep-like) documenation
  25. skip_install = True
  26. usedevelop = False
  27. commands = doc8 --file-encoding utf-8 {toxinidir}/doc
  28. [testenv:spelling]
  29. basepython = python3
  30. deps =
  31. -r{toxinidir}/requirements.txt
  32. sphinxcontrib-spelling
  33. PyEnchant
  34. commands = sphinx-build -b spelling doc/source doc/build/spelling