Add list of files to ignore

Add list of files to ignore. This needs a corresponding change
to tox.ini to call the tool with "--exceptions-file=doc-test.exceptions"
and a new release of the openstack-doc-tools project.

Change-Id: I00be628ccab9d10dceaba59fe7402e7703192818
This commit is contained in:
Andreas Jaeger 2014-01-19 19:07:03 +01:00
parent 9e19c5b60b
commit da21811504
2 changed files with 11 additions and 0 deletions

5
doc-test.exceptions Normal file

@ -0,0 +1,5 @@
# These files are ignored while running openstack-doc-text
# via tox.
#
# From apidocs
includewars.xml

@ -18,10 +18,16 @@ commands = {posargs}
commands = openstack-doc-test --api-site --check-niceness {posargs}
[testenv:checksyntax]
# TODO(jaegerandi): Once openstack-doc-tools 0.4 is out add:
# --exceptions-file=doc-test.exceptions
commands = openstack-doc-test --api-site --check-syntax {posargs}
[testenv:checkdeletions]
# TODO(jaegerandi): Once openstack-doc-tools 0.4 is out add:
# --exceptions-file=doc-test.exceptions
commands = openstack-doc-test --api-site --check-deletions {posargs}
[testenv:checkbuild]
# TODO(jaegerandi): Once openstack-doc-tools 0.4 is out add:
# --exceptions-file=doc-test.exceptions
commands = openstack-doc-test --api-site --check-build {posargs}