From 80c5f6e60989384fd30b226201e7d5be3e6679b6 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 8 May 2019 21:46:26 +0000 Subject: [PATCH] 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 --- doc/en/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/Makefile b/doc/en/Makefile index 3f4bd9dfe..341a5cb85 100644 --- a/doc/en/Makefile +++ b/doc/en/Makefile @@ -43,7 +43,7 @@ clean: regen: REGENDOC_FILES:=*.rst */*.rst 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: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html