From 885b608194a55bd60ef2a2ad180c5caa8f15f8d2 Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Fri, 7 May 2021 00:52:29 +0200 Subject: [PATCH] chore(ci): ignore debug and type_checking in coverage --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index 42dd63967..8dcdc6768 100644 --- a/tox.ini +++ b/tox.ini @@ -73,6 +73,12 @@ commands = omit = *tests* source = gitlab +[coverage:report] +exclude_lines = + pragma: no cover + if TYPE_CHECKING: + if debug: + [pytest] script_launch_mode = subprocess