test(mutmut): stabilize runs and extend telegram coverage (#157)

This commit is contained in:
banteg
2026-01-17 01:00:07 +04:00
committed by GitHub
parent c85ab2e2a2
commit 2b5b2fa6b1
5 changed files with 186 additions and 16 deletions
+8 -1
View File
@@ -54,6 +54,7 @@ build-backend = "uv_build"
[dependency-groups]
dev = [
"mutmut>=3.4.0",
"pytest>=9.0.2",
"pytest-anyio>=0.0.0",
"pytest-cov>=7.0.0",
@@ -66,9 +67,15 @@ docs = [
]
[tool.pytest.ini_options]
addopts = ["--cov=takopi", "--cov-branch", "--cov-report=term-missing", "--cov-fail-under=80"]
addopts = ["--cov=takopi", "--cov-branch", "--cov-report=term-missing", "--cov-fail-under=81"]
testpaths = ["tests"]
[tool.mutmut]
paths_to_mutate = ["src/takopi"]
tests_dir = ["tests"]
pytest_add_cli_args = ["-q", "--no-cov"]
do_not_mutate = ["src/takopi/cli/*"]
[tool.ruff.lint]
extend-select = ["B", "BLE001", "C4", "PERF", "RUF043", "S110", "SIM", "UP"]