From 010391b09b1e72082bc7cd9b871d2ac046d267ef Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 3 Dec 2019 16:42:09 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Only=20do=20the=20coverage=20on=20o?= =?UTF-8?q?ur=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .coveragerc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..3aca4eb --- /dev/null +++ b/.coveragerc @@ -0,0 +1,14 @@ +[run] +branch = True +source = + ocrd_calamari + +[report] +exclude_lines = + if self.debug: + pragma: no cover + raise NotImplementedError + if __name__ == .__main__.: +ignore_errors = True +omit = + ocrd_calamari/cli.py