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:
parent
d964ad24ad
commit
429281bee2
2
tox.ini
2
tox.ini
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user