Use pyproject.toml to maintain coverage options

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

Change-Id: I010ff60b675fe4150e2401197c12025ea480a2e2
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami committed 2026-10-03 17:26:52 +00:00
1 parent 3ec45ab64a
commit 8e200e223e
3 files changed
+14 -9

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
[run]
branch = True
source = oslo_versionedobjects
omit = oslo_versionedobjects/tests/*
[report]
ignore_errors = True
precision = 2
+13
View File
@@ -37,6 +37,19 @@ Repository = "https://opendev.org/openstack/oslo.versionedobjects"
[tool.setuptools.packages.find]
include = ["oslo_versionedobjects*"]
[tool.coverage.run]
source = [
"oslo_versionedobjects"
]
branch = true
omit = [
"oslo_versionedobjects/tests/*"
]
[tool.coverage.report]
ignore_errors = true
show_missing = true
[tool.ruff]
line-length = 79
+1 -1
View File
@@ -1,7 +1,7 @@
mypy>=1.19.0 # MIT
oslotest>=3.2.0 # Apache-2.0
testtools>=2.2.0 # MIT
coverage>=4.0 # Apache-2.0
coverage>=5.0 # Apache-2.0
jsonschema>=3.2.0 # MIT
stestr>=2.0.0 # Apache-2.0