From 40b9eba03e578d373088b2479b33824a369fbb52 Mon Sep 17 00:00:00 2001 From: George Hickman Date: Tue, 21 Nov 2023 11:19:50 +0000 Subject: [PATCH] Omit __main__.py from coverage, the cli is already tested directed --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 6cedc7c0..cf310ccd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ branch = true dynamic_context = "test_function" omit = [ ".venv/*", + "metrics/__main__.py", ] source = [ "metrics",