Add coverage exclusions
For `...` and `raise NotImplementedError`.
@@ -43,3 +43,9 @@ testpaths =
omit =
cocotb/config.py
cocotb/_vendor/*
+
+[coverage:report]
+exclude_lines =
+ pragma: no cover
+ \.\.\. # for excluding typing stubs
+ raise\s+NotImplementedError # for excluding abstractmethods
