From 52b74bd79fa937d7f56385baa6b88cff835542a2 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 29 Aug 2023 11:49:00 -0400 Subject: [PATCH] Add extra config to pytest (#932) Adding some extra config to pytest, based on sp-repo-review. Signed-off-by: Henry Schreiner --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1e438a04..19c684e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,11 +82,15 @@ sdist.include = ["extern/root/math/minuit2/inc", "extern/root/math/minuit2/src"] [tool.pytest.ini_options] minversion = "6.0" -addopts = "-q -ra --ff" +addopts = ["-q", "-ra", "--ff", "--strict-config", "--strict-markers"] +log_cli_level = "INFO" testpaths = ["tests"] +xfail_strict = true filterwarnings = [ "error::numpy.VisibleDeprecationWarning", + "error::PendingDeprecationWarning", "error::DeprecationWarning", + "error::FutureWarning", ] [tool.ruff]