From 938a2950d0fde05f73720233fe3ce7e12c195ecf Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Mon, 3 Feb 2025 17:42:19 -0500 Subject: [PATCH] Treat warnings in unit tests as errors Fixes #240. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8f4cd77..0b1f14d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,3 +12,6 @@ skip = "*-musllinux_* pp*" [tool.cibuildwheel.macos] archs = ["x86_64", "universal2"] + +[tool.pytest.ini_options] +filterwarnings = ["error"]