Fuel CCP - Installer sub-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.

tox.ini 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [tox]
  2. minversion = 1.6
  3. skipsdist = True
  4. envlist = bashate, pep8
  5. [testenv]
  6. deps =
  7. -r{toxinidir}/requirements.txt
  8. -r{toxinidir}/test-requirements.txt
  9. [testenv:doc8]
  10. commands = doc8 doc
  11. [testenv:docs]
  12. whitelist_externals = /bin/rm
  13. commands =
  14. /bin/rm -rf doc/build
  15. python setup.py build_sphinx
  16. [doc8]
  17. # Settings for doc8:
  18. # Ignore target directories
  19. ignore-path = doc/build*
  20. # File extensions to use
  21. extensions = .rst,.txt
  22. # Maximal line length should be 79 but we have some overlong lines.
  23. # Let's not get far more in.
  24. max-line-length = 80
  25. # Disable some doc8 checks:
  26. # D000: Check RST validity (cannot handle lineos directive)
  27. ignore = D000
  28. [testenv:bashate]
  29. whitelist_externals = bash
  30. commands = bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -0 bashate -v"
  31. [testenv:pep8]
  32. usedevelop = False
  33. whitelist_externals = bash
  34. commands =
  35. bash -c "find {toxinidir}/* -type f -name '*.py' -print0 | xargs -0 flake8"
  36. [testenv:venv]
  37. commands = {posargs}
  38. [flake8]
  39. show-source = true
  40. builtins = _
  41. exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools