Skip to content

Commit 8e8d964

Browse files
committed
Exclude GUI and CLI entry points from coverage calculation
1 parent 12d6ae5 commit 8e8d964

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,14 @@ addopts = "-q --cov=bookmark_checker --cov-report=term-missing --cov-report=xml
9292

9393
[tool.coverage.run]
9494
source = ["bookmark_checker"]
95-
omit = ["*/tests/*", "*/__pycache__/*"]
95+
omit = [
96+
"*/tests/*",
97+
"*/__pycache__/*",
98+
"*/__main__.py",
99+
"*/app.py",
100+
"*/ui/*",
101+
"*/i18n/translations.py",
102+
]
96103

97104
[tool.coverage.report]
98105
exclude_lines = [

0 commit comments

Comments
 (0)