From e2f56bd53f684eed73cf3ba4f6d8693123c9aca7 Mon Sep 17 00:00:00 2001 From: burgholzer Date: Tue, 9 Apr 2024 17:11:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20set=20filterwarnings=20to=20`err?= =?UTF-8?q?or`=20to=20catch=20warnings=20in=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: burgholzer --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6db283232..dd5a4b723 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,6 +89,9 @@ testpaths = ["tests"] addopts = ["-ra", "--strict-markers", "--strict-config", "--showlocals"] log_cli_level = "INFO" xfail_strict = true +filterwarnings = [ + "error" +] [tool.coverage] run.source = ["mqt.bench", "mqt.benchviewer"]