contributor-guide/tox.ini
Jay S. Bryant 311aa08839 Fix pep8 warnings for build directory
Pep8 was producing warnings about files in the doc/build
directory.  These warning are not necessary.  This change
adds --ignore-path for those things that do not need to
be verified by pep8/doc8 .

Change-Id: Icb83d5d7e87ea75e3296e33e0e726e2374948f57
2018-05-11 14:16:08 -05:00

22 lines
500 B
INI

[tox]
minversion = 2.0
envlist = docs,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:pep8]
commands = doc8 --ignore-path .tox --ignore-path *.egg-info --ignore-path doc/build --ignore-path .eggs/*/EGG-INFO/*.txt doc
[testenv:docs]
commands = sphinx-build -b html -W doc/source doc/build/html