Skip to content

Commit e12eba4

Browse files
committed
move coveragerc to pyproject.toml
1 parent d05b89f commit e12eba4

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

.coveragerc

-7
This file was deleted.

pyproject.toml

+19
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,25 @@ ignore-words-list = "cachable"
6060
[tool.pytest.ini_options]
6161
testpaths = ["tests.py"]
6262

63+
[tool.coverage.run]
64+
branch = true
65+
source = ["pytest_test_utils"]
66+
67+
[tool.coverage.paths]
68+
source = ["dvc"]
69+
70+
[tool.coverage.report]
71+
exclude_lines = [
72+
"if __name__ == .__main__.:",
73+
"if TYPE_CHECKING:",
74+
"if typing.TYPE_CHECKING:",
75+
"@overload",
76+
"pragma: no cover",
77+
"raise AssertionError",
78+
"raise NotImplementedError",
79+
]
80+
show_missing = true
81+
6382
[tool.mypy]
6483
# Error output
6584
show_column_numbers = true

0 commit comments

Comments
 (0)