Merge "Use pyproject.toml to maintain coverage options"

This commit is contained in:
Zuul authored and Gerrit Code Review committed 2026-10-02 12:14:27 +00:00
commit ca0f66e0f6
4 files changed
+15 -11

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
[run]
branch = True
source = tooz
omit = tooz/tests/*
[report]
ignore_errors = True
precision = 2
+13
View File
@@ -75,6 +75,19 @@ kubernetes = [
[tool.setuptools.packages.find]
include = ["tooz*"]
[tool.coverage.run]
source = [
"tooz"
]
branch = true
omit = [
"tooz/tests/*"
]
[tool.coverage.report]
ignore_errors = true
show_missing = true
[tool.mypy]
python_version = "3.11"
show_column_numbers = true
+1 -1
View File
@@ -1,5 +1,5 @@
testtools>=1.4.0 # MIT
coverage>=3.6 # Apache-2.0
coverage>=5.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
pifpaf>=0.10.0 # Apache-2.0
stestr>=2.0.0
+1 -2
View File
@@ -48,7 +48,6 @@ commands =
{toxinidir}/run-examples.sh
[testenv:cover]
deps = {[testenv]deps}
setenv = {[testenv]setenv}
PYTHON=coverage run --source tooz --parallel-mode
commands =
@@ -57,7 +56,7 @@ commands =
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report --show-missing
coverage report
[testenv:docs]
deps =