We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c45514d commit 6938d79Copy full SHA for 6938d79
pyproject.toml
@@ -14,8 +14,20 @@ pytest = "^8.3.3"
14
coverage = "^7.6.1"
15
16
[tool.coverage.run]
17
+branch = true
18
+source = ["src"]
19
dynamic_context = "test_function"
20
21
+
22
+[tool.coverage.report]
23
+show_missing = true
24
+fail_under = 80
25
+# omit = ["tests/*", "your_module_name/__init__.py"]
26
27
+[tool.coverage.html]
28
+directory = "htmlcov"
29
30
31
[build-system]
32
requires = ["poetry-core"]
33
build-backend = "poetry.core.masonry.api"
src/string_operations.py
@@ -1,4 +1,4 @@
1
-class StringOperations:
+class StringOperations: # pragma: no cover
2
3
def capitalize(self, text: str) -> str:
4
return text.capitalize()
0 commit comments