diff --git a/python/pylibraft/pyproject.toml b/python/pylibraft/pyproject.toml index bf98d9b9c8..8feb600f11 100644 --- a/python/pylibraft/pyproject.toml +++ b/python/pylibraft/pyproject.toml @@ -118,3 +118,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 fcb18fe412..2467e2089a 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