Include .inc files in doc8 linting
This issue was recently seen in cinder when the gate failed to detect trailing whitespaces in '.inc' files. As seen, manila was also prone to such issues but thankfully no error was found in '.inc' after running against doc8. It still seems important to include it in the testing to avoid future similar issues. Change-Id: Ie1fd4ddb4448c05559a31098302f84367fe6ed52
This commit is contained in:
parent
19135c0201
commit
1e07a3e694
2
tox.ini
2
tox.ini
@ -84,7 +84,7 @@ commands =
|
||||
rm -rf doc/build
|
||||
sphinx-build -W -b html doc/source doc/build/html
|
||||
# Ignore D001 since we allow lines in excess of 79 characters.
|
||||
doc8 --ignore D001 --ignore-path .tox --ignore-path doc/build --ignore-path manila.egg-info -e txt -e rst
|
||||
doc8 --ignore D001 --ignore-path .tox --ignore-path doc/build --ignore-path manila.egg-info -e .txt -e .rst -e .inc
|
||||
whitelist_externals = rm
|
||||
|
||||
[testenv:cover]
|
||||
|
Loading…
x
Reference in New Issue
Block a user