From fba75a1a720b27479a0055051af729801c651f86 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Fri, 5 Nov 2021 16:34:37 +0100 Subject: [PATCH] Add a config for Coverage.py (#679) --- .coveragerc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..67f3f9b8 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,25 @@ +[paths] +source = + proxy + */proxy + .tox/*/lib/python*/site-packages/proxy + +[report] +skip_covered = true +show_missing = true +exclude_lines = + \#\s*pragma: no cover + ^\s*raise AssertionError\b + ^\s*raise NotImplementedError\b + ^\s*return NotImplemented\b + ^\s*raise$ + ^if __name__ == ['"]__main__['"]:$ + +[run] +branch = true +cover_pylib = false +parallel = true +relative_files = true +source = + proxy + tests