From b0b54b74cdf2f83a13dcc331b2ee4ba18340e25a Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 6 May 2024 08:59:17 -1000 Subject: [PATCH] Enable FutureWarnings/DeprecationWarnings as errors (#595) Part of https://github.com/rapidsai/build-planning/issues/26 Luckily it doesn't appear the current test suite has any :) Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Ajay Thorve (https://github.com/AjayThorve) URL: https://github.com/rapidsai/cuxfilter/pull/595 --- python/pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python/pyproject.toml b/python/pyproject.toml index 4542e4ad..cd9f75db 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -60,3 +60,9 @@ license-files = ["LICENSE"] [tool.setuptools.dynamic] version = {file = "cuxfilter/VERSION"} + +[tool.pytest.ini_options] +filterwarnings = [ + "error::FutureWarning", + "error::DeprecationWarning", +]