Skip to content

Commit 78be544

Browse files
committed
Merge branch 'main' into multi-cell-geolift
2 parents 2befccb + 632c457 commit 78be544

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

codecov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
coverage:
2+
ignore:
3+
- "*/conftest.py"
4+
- "*/tests/conftest.py"
25
status:
36
project:
47
default:

pyproject.toml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ docs = [
7373
lint = ["interrogate", "pre-commit", "ruff"]
7474
test = ["pytest", "pytest-cov", "codespell", "nbformat", "nbconvert"]
7575

76-
[metadata]
77-
description-file = 'README.md'
78-
license_files = 'LICENSE'
79-
8076
[project.urls]
8177
Homepage = "https://github.com/pymc-labs/CausalPy"
8278
"Bug Reports" = "https://github.com/pymc-labs/CausalPy/issues"
@@ -131,3 +127,23 @@ extend-select = [
131127
[tool.codespell]
132128
ignore-words = "./docs/source/.codespell/codespell-whitelist.txt"
133129
skip = "*.ipynb,*.csv,pyproject.toml,docs/source/.codespell/codespell-whitelist.txt"
130+
131+
[tool.coverage.run]
132+
omit = [
133+
"*/conftest.py",
134+
"*/tests/conftest.py",
135+
]
136+
137+
[tool.coverage.report]
138+
exclude_lines = [
139+
"pragma: no cover",
140+
"def __repr__",
141+
"if self.debug:",
142+
"if settings.DEBUG",
143+
"raise AssertionError",
144+
"raise NotImplementedError",
145+
"if 0:",
146+
"if __name__ == .__main__.:",
147+
"class .*\\bProtocol\\):",
148+
"@(abc\\.)?abstractmethod",
149+
]

0 commit comments

Comments
 (0)