We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd7b253 commit 3292a0bCopy full SHA for 3292a0b
.coveragerc
pyproject.toml
@@ -40,6 +40,23 @@ select = [
40
"PERF",
41
]
42
43
+[tool.coverage.run]
44
+branch = true
45
+
46
+[tool.coverage.report]
47
+# Regexes for lines to exclude from consideration
48
+exclude_lines = [
49
+ "pragma: no cover",
50
+ # Ignore non-runnable code
51
+ "if __name__ == .__main__.:",
52
+ "pass",
53
+]
54
55
+# Only check coverage for source files
56
+include = [
57
+ "ocu/**/*.py",
58
59
60
[tool.mypy]
61
disallow_untyped_defs = true
62
0 commit comments