From cd46690273752f7b782c0cd15e60e8d3d3efdf6b Mon Sep 17 00:00:00 2001 From: ali adham Date: Wed, 8 Jan 2025 16:13:00 -0800 Subject: [PATCH] Enable branch coverage in pytest by updating pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index a4e125f5a31..900aaa58979 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,6 +148,7 @@ show_missing = true [tool.coverage.run] source_pkgs = ["torchgeo"] +branch = true # https://mypy.readthedocs.io/en/stable/config_file.html [tool.mypy]