From 9bb82306f49ad4edc1a40421373b64543d74ecbe Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Sun, 10 Sep 2023 10:28:14 -0500 Subject: [PATCH] Configure pytest to escalate warnings to errors during testing --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4c3e7ae..cd19754 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,3 +10,8 @@ exclude = ''' | lib )/ ''' + +[tool.pytest.ini_options] +filterwarnings = [ + "error", +]