Use pyproject.toml to maintain coverage options

... to reduce independent config files for test tools.

Change-Id: I7444dda702ae761da3d4e56492e513f54a7515d4
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami committed 2026-10-03 01:13:44 +09:00
1 parent 284607d181
commit b31e2e08f8
3 files changed
+14 -9

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
[run]
branch = True
source = oslo_concurrency
omit = oslo_concurrency/tests/*
[report]
ignore_errors = True
precision = 2
+13
View File
@@ -47,6 +47,19 @@ eventlet = [
[tool.setuptools.packages.find]
include = ["oslo_concurrency*"]
[tool.coverage.run]
source = [
"oslo_concurrency"
]
branch = true
omit = [
"oslo_concurrency/tests/*"
]
[tool.coverage.report]
ignore_errors = true
show_missing = true
[tool.mypy]
python_version = "3.11"
show_column_numbers = true
+1 -1
View File
@@ -61,7 +61,7 @@ commands =
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report --show-missing
coverage report
[flake8]
show-source = true