Use pyproject.toml to maintain coverage options
... to reduce independent config files for test tools. Change-Id: Ia90c8dfac1b7b3b167b2bb131473d9e901fdc8d9 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
1 parent
4e857ae576
commit
60ce00bc48
4 files changed
+16
-8
No files matched your search
@@ -1,7 +0,0 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = cursive
|
||||
omit = cursive/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
@@ -34,6 +34,19 @@ Repository = "https://opendev.org/openstack/cursive"
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["cursive"]
|
||||
|
||||
[tool.coverage.run]
|
||||
source = [
|
||||
"cursive"
|
||||
]
|
||||
branch = true
|
||||
omit = [
|
||||
"cursive/tests/*"
|
||||
]
|
||||
|
||||
[tool.coverage.report]
|
||||
ignore_errors = true
|
||||
show_missing = true
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 79
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
stestr>=3.0.1 # Apache-2.0
|
||||
coverage>=3.6 # Apache-2.0
|
||||
coverage>=5.0 # Apache-2.0
|
||||
oslotest>=1.10.0 # Apache-2.0
|
||||
Reference in new issue
Block a user