From abc8e3be5975740654f920016b076f9b5aeb21a4 Mon Sep 17 00:00:00 2001 From: crusaderky Date: Tue, 23 Jan 2024 11:19:26 +0000 Subject: [PATCH] Fail tests on all warnings (#32) --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index b28e778..01ab3b3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -51,7 +51,8 @@ universal = 1 universal = 1 [tool:pytest] -addopts = --strict +addopts = -W error --strict-markers --strict-config -v -r sxfE --color=yes +xfail_strict = true python_files = test_*.py testpaths = TEMPLATE/tests