From 1c6aeeb27b0c4d8cb9b42868595114b1a71a7d76 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sat, 21 Jun 2025 14:35:17 +0800 Subject: [PATCH] feat: add options of pytest and coverage --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6cfbebd..525137f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,15 @@ include = [ "tests", ] +[tool.pytest.ini_options] +addopts = "-ra --tb=long" +testpaths = ["tests"] + +[tool.coverage] +run.omit = ["tests/*"] +report.precision = 2 +html.title = "Syncplay Bootstrap Coverage" + [tool.hatch.version] path = "src/syncplay/syncplay/__init__.py"