Ignore all .egg-info directories in doc8 check

Doc builds can fail if you have .egg-info directories
in your repo.  This change makes sure that those
directories are ignored in the doc8 check.

Change-Id: I8e713651919f43feb80fca59b74c103b3255dd75
This commit is contained in:
Jay S. Bryant 2017-07-13 10:10:29 -05:00
parent d964ad24ad
commit 429281bee2
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ commands =
python setup.py build_sphinx
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html/
doc8 --ignore D001 --ignore-path .tox --ignore-path cinder.egg-info --ignore-path doc/src/api --ignore-path doc/source/drivers.rst --ignore-path doc/build --ignore-path .eggs/*/EGG-INFO/*.txt -e txt -e rst
doc8 --ignore D001 --ignore-path .tox --ignore-path *.egg-info --ignore-path doc/src/api --ignore-path doc/source/drivers.rst --ignore-path doc/build --ignore-path .eggs/*/EGG-INFO/*.txt -e txt -e rst
whitelist_externals = rm
[testenv:gendriverlist]