diff --git a/python/pylibraft/pyproject.toml b/python/pylibraft/pyproject.toml index 3e8ca0b6d3..df1001538e 100644 --- a/python/pylibraft/pyproject.toml +++ b/python/pylibraft/pyproject.toml @@ -116,3 +116,8 @@ wheel.packages = ["pylibraft"] provider = "scikit_build_core.metadata.regex" input = "pylibraft/VERSION" regex = "(?P.*)" + +[tool.pytest.ini_options] +filterwarnings = [ + "error", +] diff --git a/python/raft-dask/pytest.ini b/python/raft-dask/pytest.ini index 5559bb08c8..880016d211 100644 --- a/python/raft-dask/pytest.ini +++ b/python/raft-dask/pytest.ini @@ -1,4 +1,6 @@ [pytest] +filterwarnings = + error markers = unit: marks unit tests quality: marks quality tests