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