Skip to content

Commit

Permalink
coveragerc: use include/paths
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Jan 2, 2020
1 parent b450bcf commit 3aa6500
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
[run]
source = .
include =
covimerage/*
tests/*
*/lib/python*/site-packages/covimerage/*
*/pypy*/site-packages/covimerage/*
*\Lib\site-packages\covimerage\*
branch = true
# Wrong warning caused by include used in [report] (Coveragepy 4.4.2)
# Ref: https://bitbucket.org/ned/coveragepy/issues/621
Expand All @@ -8,4 +13,9 @@ parallel = true

[report]
show_missing = true
include = covimerage/*,tests/*

[paths]
source = covimerage/
*/lib/python*/site-packages/covimerage/
*/pypy*/site-packages/covimerage/
*\Lib\site-packages\covimerage\

0 comments on commit 3aa6500

Please sign in to comment.