build(deps): Add pytest-cov as a developer dependency

This commit is contained in:
2025-05-21 15:10:27 +02:00
parent b7d9c488ba
commit 2822b9a0ff
3 changed files with 115 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ mypy = "^1.15.0"
pre-commit = "^4.2.0"
pylint = "^3.3.7"
pytest = "^8.3.5"
pytest-cov = "^6.1.1"
reuse = "^5.0.2"
[tool.black]
@@ -37,6 +38,15 @@ version_provider = "poetry"
update_changelog_on_bump = true
major_version_zero = true
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 91
omit = ["examples/*"]
[tool.coverage.run]
branch = true
[tool.isort]
force_sort_within_sections = true
line_length = 120
@@ -45,6 +55,9 @@ profile = "black"
[tool.pylint.format]
max-line-length = 120
[tool.pytest.ini_options]
addopts = "--cov=. --no-cov-on-fail"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"