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).
This commit is contained in:
David Runge 2022-01-11 11:04:43 +01:00
parent 6db2d0d201
commit 5f32eb3c90
No known key found for this signature in database
GPG Key ID: 7258734B41C31549

View File

@ -21,7 +21,7 @@ exclude = '''
source = ["libkeyringctl"]
[tool.coverage.report]
omit = ["tests/*", ".tox/*"]
include = ["libkeyringctl/*", "keyringctl"]
precision = 2
show_missing = true