From 05ffc2dba0c624a7f712aefa8eb893dac2ac1492 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 Mar 2026 09:11:03 +0100 Subject: [PATCH] chore: migrate pytest ini_options to pytest section --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ed2ea02ae..3a2d88b17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -152,14 +152,13 @@ namespaces = true [tool.setuptools.dynamic] version = {attr = "freqtrade.__version__"} -[tool.pytest.ini_options] -# TODO: should be migrated to [tool.pytest] as support for this was added in 9.0 +[tool.pytest] log_format = "%(asctime)s %(levelname)s %(message)s" log_date_format = "%Y-%m-%d %H:%M:%S" +addopts = ["--dist", "loadscope"] asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" -addopts = "--dist loadscope" [tool.mypy] ignore_missing_imports = true