From 7e487849d307d99c017ed82f9f3b9ce69cea7234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 19 Oct 2024 19:27:26 +0200 Subject: [PATCH] Silence py3o.template deprecation warnings during tests Since we test the deprecated features, no need to warn about them in our own tests. --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index f6a4be4..679bc16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,3 +53,8 @@ ignore = [ [tool.ruff.lint.isort] known-first-party = ["py3o.template"] + +[tool.pytest.ini_options] +filterwarnings = [ + "ignore::DeprecationWarning:py3o.template.*" +]