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:
parent
6db2d0d201
commit
5f32eb3c90
@ -21,7 +21,7 @@ exclude = '''
|
|||||||
source = ["libkeyringctl"]
|
source = ["libkeyringctl"]
|
||||||
|
|
||||||
[tool.coverage.report]
|
[tool.coverage.report]
|
||||||
omit = ["tests/*", ".tox/*"]
|
include = ["libkeyringctl/*", "keyringctl"]
|
||||||
precision = 2
|
precision = 2
|
||||||
show_missing = true
|
show_missing = true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user