From 4cf56b40bb6a09b2480aee9ef117fce2194c7ec1 Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Mon, 12 Oct 2015 16:15:34 +0200 Subject: [PATCH] add config for coverage.py --- .coveragerc | 12 ++++++++++++ .gitignore | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..895d2c06 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,12 @@ +[report] +exclude_lines = + pragma: no cover + ^\s*def __repr__ + ^\s*(el)?if os\.name == + ^\s*raise (RuntimeError|NotImplementedError) + ^\s*except ImportError +[paths] +source = + qubes + /usr/lib/python2.7/site-packages/qubes + /usr/lib64/python2.7/site-packages/qubes diff --git a/.gitignore b/.gitignore index 06d30793..602bc629 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ rpm/ pkgs/ +.coverage +.coverage.* +htmlcov/ *.pyc *.pyo *~