Use pyproject.toml to maintain coverage options
... to reduce independent config files for test tools. Change-Id: Ic62fe96f892b7565ae59fa5ed7ee10e29b630ab0 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
1 parent
1263698099
commit
e5417a8712
4 files changed
+16
-12
No files matched your search
@@ -1,8 +0,0 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = oslo_vmware
|
||||
omit = oslo_vmware/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
precision = 2
|
||||
@@ -33,6 +33,19 @@ Repository = "https://opendev.org/openstack/oslo.vmware"
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["oslo_vmware*"]
|
||||
|
||||
[tool.coverage.run]
|
||||
source = [
|
||||
"oslo_vmware"
|
||||
]
|
||||
branch = true
|
||||
omit = [
|
||||
"oslo_vmware/tests/*"
|
||||
]
|
||||
|
||||
[tool.coverage.report]
|
||||
ignore_errors = true
|
||||
show_missing = true
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 79
|
||||
|
||||
|
||||
@@ -4,9 +4,5 @@ fixtures>=3.0.0 # Apache-2.0/BSD
|
||||
testtools>=2.2.0 # MIT
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
|
||||
# when we can require tox>= 1.4, this can go into tox.ini:
|
||||
# [testenv:cover]
|
||||
# deps = {[testenv]deps} coverage
|
||||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
ddt>=1.0.1 # MIT
|
||||
oslo.context>=2.19.2 # Apache-2.0
|
||||
Reference in new issue
Block a user