From b6d37b70716b13020634a06e5ecf433de4138b80 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 26 Sep 2024 13:47:51 -0700 Subject: [PATCH] dont do coverage of test directory --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 3e3a78aed..01d641794 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,6 +106,10 @@ sqlalchemy-utils = "^0.41.2" vulture = "^2.10" detect-secrets = "^1.5.0" +[tool.coverage.run] +omit = [ + "tests/*", # Omit everything in the tests directory +] [build-system] requires = ["poetry-core"]