From 379c2117e53ad62dfd1fc2040d92e41bd67b4610 Mon Sep 17 00:00:00 2001 From: Lukas Burgholzer Date: Tue, 18 Feb 2025 00:46:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20fix=20coverage=20configuration?= =?UTF-8?q?=20to=20properly=20exclude=20the=20`literals.py`=20file=20(#552?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description This pull request fixes the coverage configuration to properly exclude the `literals.py` file from coverage reports. This ensures accurate reporting by excluding files that are not relevant to coverage metrics. ## Checklist: - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines Signed-off-by: burgholzer --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cdd51cb7..aa6fa8c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,7 +130,7 @@ filterwarnings = [ [tool.coverage] run.source = ["mqt.qcec"] -run.omit = ["src/mqt/qcec/types.py"] +run.omit = ["src/mqt/qcec/literals.py"] report.exclude_also = [ '\.\.\.', 'if TYPE_CHECKING:',