From ac0fe8ec056e648c4f6b6f7d028127fa7104f242 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Fri, 8 Dec 2023 15:56:25 +0000 Subject: [PATCH] tests: exclude generated files --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c9287a5..95f5457 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,3 +85,6 @@ log_level = "INFO" python_files = ["tests/test_*.py"] testpaths = ["tests"] addopts = "-v --tb=short -rxs -W=error -n=2 --durations=0 --durations-min=1 --cov=cuvec --cov-report=term-missing --cov-report=xml" + +[tool.coverage.run] +omit = ["cuvec/swvec.py", "cuvec/example_swig.py"]