From 7345d0fa3755e176d1eb8695a9f4801b8b4bdbf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Tue, 19 Aug 2025 15:58:39 -0600 Subject: [PATCH] Fail tests on warnings --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a98dbb2..474179d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,6 +76,11 @@ description = "run unit tests" dependency_groups = [ "tests" ] commands = [ [ "pytest", { replace = "posargs", default = [ "tests" ], extend = true } ] ] +[tool.pytest.ini_options] +filterwarnings = [ + "error", +] + [build-system] requires = ["hatchling"] build-backend = "hatchling.build"