summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorRonald Bradford <ronald.bradford@gmail.com>2015-10-05 13:16:29 -0400
committerRonald Bradford <ronald.bradford@gmail.com>2015-10-05 13:18:37 -0400
commit494e35bf668ae6c34fd808dc778f5181c473a609 (patch)
tree2a47a74694ebd117220fe1049c699f69939e3abd /.coveragerc
parent65f83aef8337c36a081240c4a4db671135bd4a9f (diff)
downloadpbr-494e35bf668ae6c34fd808dc778f5181c473a609.tar.gz
Add standard code coverage configuration file
Add the .coveragerc configuration consistent with other projects, specifically to define including branch = True and omit including tests in the coverage reports Change-Id: I5d18b10a46a7149b1187ab830ce7520d0aa3c6dc
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..b043aa2
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,8 @@
+[run]
+branch = True
+source = pbr
+omit = pbr/tests/*,pbr/openstack/*
+
+[report]
+ignore_errors = True
+precision = 2