From b9d1ee4164e6a51facb57dd6ab9090bd23c77626 Mon Sep 17 00:00:00 2001 From: Peng Ren Date: Fri, 5 Dec 2025 11:32:44 -0500 Subject: [PATCH] add coverage for sonarqube --- pydynamodb/__init__.py | 2 +- sonar-project.properties | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pydynamodb/__init__.py b/pydynamodb/__init__.py index 958959f..2d35cbc 100644 --- a/pydynamodb/__init__.py +++ b/pydynamodb/__init__.py @@ -6,7 +6,7 @@ if TYPE_CHECKING: from .connection import Connection -__version__: str = "0.8.0" +__version__: str = "0.8.1" # Globals https://www.python.org/dev/peps/pep-0249/#globals apilevel: str = "2.0" diff --git a/sonar-project.properties b/sonar-project.properties index 41468e0..fb95b7e 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -9,5 +9,9 @@ sonar.projectVersion=0.7.* # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. sonar.sources=./pydynamodb +sonar.tests=./tests + +sonar.python.coverage.reportPaths=./coverage.xml + # Encoding of the source code. Default is default system encoding sonar.sourceEncoding=UTF-8 \ No newline at end of file