Skip to content

Commit 0560c11

Browse files
Move coverage config into pyproject.toml
1 parent f4c0d93 commit 0560c11

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.coveragerc

Lines changed: 0 additions & 8 deletions
This file was deleted.

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,14 @@ exclude = [
6666

6767
[tool.pytest.ini_options]
6868
addopts = "--doctest-glob README.md"
69+
70+
[tool.coverage.run]
71+
branch = true
72+
73+
[tool.coverage.report]
74+
exclude_lines = [
75+
"pragma: no cover",
76+
"if TYPE_CHECKING:",
77+
"return NotImplemented",
78+
"@overload",
79+
]

0 commit comments

Comments
 (0)