Add .coveragerc
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 19 Mar 2013 13:05:02 +0000 (15:05 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sat, 6 Apr 2013 20:20:35 +0000 (22:20 +0200)
To get correct report if coverage is invoked directly (not through
nose/disttools) in order to get an xml report, for example.

Currently only used for restricting the coverage output to the gbp
python package. That is, same thing that 'cover-package' option in
setup.cfg does.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
.coveragerc [new file with mode: 0644]

diff --git a/.coveragerc b/.coveragerc
new file mode 100644 (file)
index 0000000..e8a06d9
--- /dev/null
@@ -0,0 +1,2 @@
+[run]
+include = gbp/*