From 926e477ed05dfec51683bdfd440118cfe1c8e829 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Sun, 6 Sep 2026 14:41:57 +0100 Subject: [PATCH] Update pytest config to native TOML format from v9 https://docs.pytest.org/en/stable/reference/customize.html#pyproject-toml --- pyproject.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d30e31e938..e8de1e2378 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -114,8 +114,13 @@ builtin = "clear,rare,code,names,en-GB_to_en-US" max_supported_python = "3.14" keep_full_version = true -[tool.pytest.ini_options] -addopts = "--tb=short --strict-markers -ra --no-migrations" +[tool.pytest] +addopts = [ + "--tb=short", + "--strict-markers", + "-ra", + "--no-migrations", +] testpaths = [ "tests" ] markers = [ "requires_postgres: marks tests as requiring a PostgreSQL database backend",