Skip to content

Commit

Permalink
🩹 fix coverage configuration to properly exclude the literals.py fi…
Browse files Browse the repository at this point in the history
…le (#552)

## 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 <burgholzer@me.com>
  • Loading branch information
burgholzer authored Feb 17, 2025
1 parent b8b4424 commit 379c211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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:',
Expand Down

0 comments on commit 379c211

Please sign in to comment.