From 299cc3b4b0c39c33edf82e05cf77df3627f8eff8 Mon Sep 17 00:00:00 2001 From: Matthias Schoettle Date: Tue, 19 Mar 2024 20:49:48 +0000 Subject: [PATCH] Catch warnings as errors in pytest --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f136044..a45c84e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,6 +57,7 @@ addopts = [ "--ruff", "--ruff-format", "--ignore-glob='*/models.py'", + "--W error", ] [tool.ruff]