Tools used by OpenStack 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.

43 lines
1.3 KiB

minversion = 1.6
envlist = py26,py27,py33,pypy,pep8
skipsdist = True
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
deps = -r{toxinidir}/requirements.txt
commands =
# Run doc8 to check .rst and .txt files.
# HACKING.rst is the only file that is not referenced from
# doc/source, so add it explicitely.
doc8 -e txt -e rst doc/source/ HACKING.rst
# Run bashate during pep8 runs to ensure violations are caught by
# the check and gate queues.
bashate autogenerate_config_docs/autohelp-wrapper \
autogenerate_config_docs/test/ \
bin/doc-tools-check-languages \
build_environment/files/ build_environment/bin/ \
cleanup/ \
commands = pylint os_doc_tools cleanup
commands = {posargs}
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,H803
builtins = _