From b8cac6fb3010014de8bb340c4c2b3d84323c8429 Mon Sep 17 00:00:00 2001 From: Kevin Carrogan Date: Tue, 6 Feb 2024 16:49:15 +0000 Subject: [PATCH] Exclude checking coverage for `NotImplementedError` code --- .coveragerc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.coveragerc b/.coveragerc index fa0434254d..54cfae6f40 100644 --- a/.coveragerc +++ b/.coveragerc @@ -17,4 +17,9 @@ omit = ./runtime.txt ./lite_routing/management/commands/generate_rules_docs.py +[report] +exclude_lines = + pragma: no cover + raise NotImplementedError + branch = True