From e713407f898f964f927053ffa924edb9adbcc1bb Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Sun, 10 Nov 2019 20:08:47 -0800 Subject: [PATCH] Add Pytest `filterwarnings` config section Fixes #2650 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 15dbaee8..97f3a210 100644 --- a/tox.ini +++ b/tox.ini @@ -29,6 +29,11 @@ changedir = docs commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html +[pytest] +filterwarnings = + default::DeprecationWarning + error:.*:Warning:pelican + [flake8] application-import-names = pelican import-order-style = cryptography