Skip to content

Commit ecf64be

Browse files
committed
Add pytest cov
1 parent 04a61c3 commit ecf64be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ cli-test-helpers = "^4.1.0"
2626
mypy = "^1.10.0"
2727
pre-commit = "^3.7.0"
2828
ruff = "^0.9.4"
29+
pytest-cov = "^6.0.0"
2930

3031
[tool.ruff]
3132
line-length = 120
@@ -83,9 +84,8 @@ docstring-code-format = false
8384
docstring-code-line-length = "dynamic"
8485

8586
[tool.pytest.ini_options]
86-
testpaths = [
87-
"tests"
88-
]
87+
testpaths = ["tests"]
88+
addopts = "--cov"
8989

9090
[tool.mypy]
9191
ignore_missing_imports = true

0 commit comments

Comments
 (0)