From 4c50769040f976d07efaafae0267fa2a7d741d23 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 22 Jul 2021 23:15:52 +0200 Subject: [PATCH] root: fix root dir for coverage Signed-off-by: Jens Langhammer --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f3601d61d..cebe5fbe2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ src_paths = ["authentik", "tests", "lifecycle"] force_to_top = "*" [tool.coverage.run] -source = ["authentik"] +source = ["."] relative_files = true omit = [ "*/asgi.py", @@ -20,6 +20,7 @@ omit = [ "*/migrations/*", "*/apps.py", "website/", + "BaseEvalautor" ] [tool.coverage.report]