From 9a07705dfe6f61f8ab07e5608a884fb5ae9eeb53 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 2 Jan 2025 11:46:14 +0100 Subject: [PATCH] Add pytest init options (#46) Signed-off-by: Glenn Jocher --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index fdc5e4d..fa20461 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,6 +88,10 @@ package-data = { "sample" = ["*.yaml"] } [tool.setuptools.dynamic] version = { attr = "template.__version__" } +[tool.pytest.ini_options] +addopts = "--doctest-modules --durations=30 --color=yes" +norecursedirs = [".git", "dist", "build"] + [tool.ruff] line-length = 120