Style checker for sphinx (or other) rst documentation.
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 719B

1234567891011121314151617181920212223242526272829303132333435
  1. [tox]
  2. minversion = 1.6
  3. skipsdist = True
  4. envlist = py34,py26,py27,pep8
  5. [testenv]
  6. setenv = VIRTUAL_ENV={envdir}
  7. usedevelop = True
  8. install_command = pip install {opts} {packages}
  9. deps = -r{toxinidir}/requirements.txt
  10. -r{toxinidir}/test-requirements.txt
  11. commands = nosetests {posargs}
  12. [testenv:pep8]
  13. commands = flake8 {posargs}
  14. [testenv:pylint]
  15. requirements = pylint==0.25.2
  16. commands = pylint doc8
  17. [tox:jenkins]
  18. downloadcache = ~/cache/pip
  19. [testenv:venv]
  20. commands = {posargs}
  21. [testenv:docs]
  22. commands =
  23. doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst
  24. python setup.py build_sphinx
  25. [flake8]
  26. builtins = _
  27. show-source = True
  28. exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build