Add: Coverage gutters
Python CI / test (push) Successful in 42s

Remove: Un-used funcs
This commit is contained in:
2025-06-07 17:11:22 +02:00
parent afb22ccb5c
commit ed39f40bad
6 changed files with 4484 additions and 246 deletions
+31
View File
@@ -18,3 +18,34 @@ dependencies = [
"pyphen",
"beautifulsoup4",
]
[tool.coverage.run]
source = ["pyWebLayout"]
branch = true
omit = [
"*/tests/*",
"*/test_*",
"setup.py",
"*/examples/*",
"*/__main__.py"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:"
]
precision = 2
show_missing = true
[tool.coverage.xml]
output = "coverage.xml"
[tool.coverage.html]
directory = "htmlcov"