From 21b6c4bfb5c63eb889b06816e278cecfa92eaf4d Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Thu, 21 Sep 2023 10:55:10 +0200 Subject: [PATCH] Ignore coverage for the default implementation of abstract methods --- .coveragerc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.coveragerc b/.coveragerc index 1fff4abac..c16f2b95f 100644 --- a/.coveragerc +++ b/.coveragerc @@ -12,4 +12,7 @@ exclude_lines = # Don't complain if tests don't hit defensive assertion code: raise NotImplementedError + # Ignore the default implementation of abstract methods + ^\s*\.\.\.$ + if TYPE_CHECKING: