From 6b90f3f3159ddaad7ee0f259e0775f992cc5cca2 Mon Sep 17 00:00:00 2001 From: Christian Ledermann Date: Sun, 26 Nov 2023 14:27:14 +0000 Subject: [PATCH] Add coverage configuration to pyproject.toml --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 78a35d36..03c38324 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,6 +95,15 @@ Changelog = "https://github.com/cleder/pygeoif/blob/develop/docs/HISTORY.rst" Documentation = "https://pygeoif.readthedocs.io/" Homepage = "https://github.com/cleder/pygeoif/" +[tool.coverage.paths] +source = [ + "pygeoif", + "tests", +] + +[tool.coverage.run] +branch = true + [tool.flake8] max_line_length = 88