This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 605f53e8d33544ad775f572aeb9a4b072198a0ff
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Aug 12 12:19:09 2023 +0200

    Update coverage options in pyproject.toml.
---
 .gitignore     |  1 +
 pyproject.toml | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/.gitignore b/.gitignore
index 8192c4ffa..9f79c1659 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@ build
 MANIFEST
 /.ropeproject/config.py
 /.coverage
+/.coverage*
 coverage_html_report/
 coverage.xml
 .idea
diff --git a/pyproject.toml b/pyproject.toml
index 7996c6fb8..56c0e585a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -189,10 +189,21 @@ module = [
 ignore_errors = true
 
 [tool.coverage.run]
+parallel = true
 branch = true
 source = ["libcloud"]
 
+[tool.coverage.paths]
+source = [
+   "libcloud/",
+]
+tests = [
+   "libcloud/test/",
+]
+
 [tool.coverage.report]
+show_missing = true
+skip_covered = true
 exclude_lines = [
     # Have to re-enable the standard pragma
     "pragma: no cover",
@@ -210,6 +221,10 @@ exclude_lines = [
     "import",
     "deprecated_warning",
     "in_development_warning",
+    "@abc.abstractmethod",
+    # Type checking related code,
+    "^if (False|TYPE_CHECKING):",
+    "if typing.TYPE_CHECKING",
 ]
 ignore_errors = true
 

Reply via email to