Skip to content

Commit a96b1ff

Browse files
committed
Turn off code coverage mostly for now
1 parent 36498a0 commit a96b1ff

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ licence-check: ## Check that licences of the dependencies are suitable
9292

9393
.PHONY: virtual-environment
9494
virtual-environment: ## update virtual environment, create a new one if it doesn't already exist
95-
uv sync --all-extras --group all-dev
96-
uv run pre-commit install
95+
uv sync --no-editable --all-extras --group all-dev
96+
uv run --no-sync pre-commit install
9797

9898
.PHONY: format-fortran
9999
format-fortran: ## format the Fortran files

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ source = [
140140
"src",
141141
]
142142
branch = true
143+
omit = [
144+
# TODO: check this file
145+
"*exceptions.py",
146+
"*runtime_helpers.py",
147+
]
143148

144149
[tool.coverage.report]
145150
fail_under = 90

src/example_fgen_basic/get_wavelength.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
try:
1919
from example_fgen_basic._lib import m_get_wavelength_w # type: ignore
20-
except (ModuleNotFoundError, ImportError) as exc:
20+
except (ModuleNotFoundError, ImportError) as exc: # pragma: no cover
2121
raise CompiledExtensionNotFoundError("example_fgen_basic._lib") from exc
2222

2323

0 commit comments

Comments
 (0)