From 4478c89aa7e99091644c28f15831b16e1e327085 Mon Sep 17 00:00:00 2001 From: ljnsn Date: Sat, 12 Oct 2024 18:03:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20config(coverage):=20add=20workar?= =?UTF-8?q?ound=20for=20source=20path=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit for the issue see [1] for the workaround see [2] [1]: https://github.com/nedbat/coveragepy/issues/578 [2]: https://github.com/LibraryOfCongress/concordia/pull/857/files --- pyproject.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c24ff36..04a9e48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,9 +59,8 @@ warn_unreachable = true branch = true command_line = "--module pytest" data_file = "reports/.coverage" -source = ["src"] -# include = ["src/*"] -# omit = ["tests/*"] +include = ["src/*"] +omit = ["tests/*"] [tool.coverage.paths] source = ["src/"] @@ -71,8 +70,8 @@ fail_under = 50 precision = 1 show_missing = true skip_covered = true -# include = ["src/*"] -# omit = ["tests/*"] +include = ["src/*"] +omit = ["tests/*"] [tool.coverage.xml] output = "reports/coverage.xml"