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:
1 parent
284607d181
commit
b31e2e08f8
3 files changed
+14
-9
No files matched your search
@@ -1,8 +0,0 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = oslo_concurrency
|
||||
omit = oslo_concurrency/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
precision = 2
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user