diff --git a/pyproject.toml b/pyproject.toml index 84c2be3..97df3f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,12 +49,12 @@ dependencies = [ path = "meanas/__init__.py" [project.optional-dependencies] -dev = ["pytest", "pdoc", "gridlock"] +dev = ["pytest", "coverage", "pdoc", "gridlock"] examples = [ "gridlock>=2.1", "matplotlib>=3.10.8", ] -test = ["pytest"] +test = ["pytest", "coverage"] [tool.ruff] @@ -100,5 +100,16 @@ module = [ ] ignore_missing_imports = true -[tool.uv.sources] -gridlock = { path = "../gridlock", editable = true } +#[tool.uv.sources] +#gridlock = { path = "../gridlock", editable = true } + +[tool.pytest.ini_options] +addopts = "-rsXx" +testpaths = ["meanas"] + +[tool.coverage.run] +source = ["meanas"] + +[tool.coverage.report] +show_missing = true +omit = ["meanas/test/*"]