Ignore PytestUnknownMark warnings when regen docs

A lot of our examples use custom markers to make a point and showcase
features, which generates a lot of warnings
This commit is contained in:
Bruno Oliveira 2019-05-08 21:46:26 +00:00
parent 5eeb5ee960
commit 80c5f6e609
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ clean:
regen: REGENDOC_FILES:=*.rst */*.rst regen: REGENDOC_FILES:=*.rst */*.rst
regen: regen:
PYTHONDONTWRITEBYTECODE=1 PYTEST_ADDOPTS=-pno:hypothesis COLUMNS=76 regendoc --update ${REGENDOC_FILES} ${REGENDOC_ARGS} PYTHONDONTWRITEBYTECODE=1 PYTEST_ADDOPTS="-pno:hypothesis -Wignore::pytest.PytestUnknownMarkWarning" COLUMNS=76 regendoc --update ${REGENDOC_FILES} ${REGENDOC_ARGS}
html: html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html