Skip to content

Commit 2a5e932

Browse files
committed
DOC: Remove coverage tool configuration from pyproject.toml
1 parent da4981a commit 2a5e932

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

pyproject.toml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,13 @@ Homepage = "https://lifelib.io"
4343
[project.optional-dependencies]
4444
test = [
4545
"pytest>=7.0",
46-
"pytest-cov>=4.0",
4746
"pytest-xdist>=3.0",
4847
"pandas",
4948
"numpy>=1.16.5",
5049
"openpyxl",
5150
]
5251
dev = [
5352
"pytest>=7.0",
54-
"pytest-cov>=4.0",
5553
"pytest-xdist>=3.0",
5654
"pandas",
5755
"numpy>=1.16.5",
@@ -68,10 +66,6 @@ addopts = [
6866
"--strict-markers",
6967
"--strict-config",
7068
"--showlocals",
71-
"--cov=lifelib",
72-
"--cov-report=term-missing:skip-covered",
73-
"--cov-report=html",
74-
"--cov-report=xml",
7569
]
7670
testpaths = [
7771
"lifelib/tests",
@@ -97,33 +91,6 @@ markers = [
9791
"unit: marks tests as unit tests",
9892
]
9993

100-
[tool.coverage.run]
101-
source = ["lifelib"]
102-
omit = [
103-
"*/tests/*",
104-
"*/test_*.py",
105-
"*/__pycache__/*",
106-
"*/site-packages/*",
107-
]
108-
branch = true
109-
110-
[tool.coverage.report]
111-
exclude_lines = [
112-
"pragma: no cover",
113-
"def __repr__",
114-
"raise AssertionError",
115-
"raise NotImplementedError",
116-
"if __name__ == .__main__.:",
117-
"if TYPE_CHECKING:",
118-
"if typing.TYPE_CHECKING:",
119-
"@abstractmethod",
120-
]
121-
precision = 2
122-
show_missing = true
123-
124-
[tool.coverage.html]
125-
directory = "htmlcov"
126-
12794
[tool.black]
12895
line-length = 88
12996
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313']

0 commit comments

Comments
 (0)