Use pyproject.toml to maintain coverage options
... to reduce independent config files for test tools. Change-Id: Ibb17ef3a1a220569b3f6c51de2c6f65222743cd9 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
1 parent
2f17912114
commit
4640936ca0
4 files changed
+15
-9
No files matched your search
@@ -1,7 +0,0 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = oslo_cache
|
||||
omit = oslo_cache/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
@@ -53,6 +53,19 @@ etcd3gw = [
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["oslo_cache*"]
|
||||
|
||||
[tool.coverage.run]
|
||||
source = [
|
||||
"oslo_cache"
|
||||
]
|
||||
branch = true
|
||||
omit = [
|
||||
"oslo_cache/tests/*"
|
||||
]
|
||||
|
||||
[tool.coverage.report]
|
||||
ignore_errors = true
|
||||
show_missing = true
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.11"
|
||||
show_column_numbers = true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
coverage>=4.0 # Apache-2.0
|
||||
coverage>=5.0 # Apache-2.0
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
pifpaf>=0.10.0 # Apache-2.0
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
Reference in new issue
Block a user