From 99a4af1cecedf7a3f278250b80418d739ccfeb90 Mon Sep 17 00:00:00 2001 From: Dor Harpaz Date: Thu, 6 Jun 2024 11:38:06 +0300 Subject: [PATCH] Treat warnings as errors --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 79833d2a..aafa6dbd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,9 @@ [tool.pytest.ini_options] python_files = "test_*.py" +# treat all warnings as errors +filterwarnings = "error" + [tool.isort] profile = "black" combine_as_imports = true