From 5f32eb3c908cb871c81fe3db957b73d7e1006f07 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 11 Jan 2022 11:04:43 +0100 Subject: [PATCH] Include files for coverage instead of omitting others pyproject.toml: Use specific include for files to use in the coverage report instead of relying on a list of omitted files (which may grow over time and not cover all use-cases). --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 52a39a1..6c5c724 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ exclude = ''' source = ["libkeyringctl"] [tool.coverage.report] -omit = ["tests/*", ".tox/*"] +include = ["libkeyringctl/*", "keyringctl"] precision = 2 show_missing = true