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 cdad450 commit d20b48dCopy full SHA for d20b48d
pyproject.toml
@@ -93,6 +93,17 @@ markers = [
93
# log_cli=true
94
# log_level=DEBUG
95
96
+[tool.coverage.run]
97
+source = ["pylhc/"]
98
+
99
+[tool.coverage.report]
100
+precision = 2
101
+ignore_errors = true
102
+exclude_also = [
103
+ "if TYPE_CHECKING:", # do not count if TYPE_CHECKING block imports (ignored at runtime) for coverage
104
+ "except ImportError:", # do not count missing optional dependencies set to None, we monkeypatch and test that
105
+]
106
107
# ----- Dev Tools Configuration ----- #
108
109
[tool.ruff]
0 commit comments