add config for coverage.py

This commit is contained in:
Wojtek Porczyk 2015-10-12 16:15:34 +02:00
parent fb6acb5f6b
commit 4cf56b40bb
2 changed files with 15 additions and 0 deletions

12
.coveragerc Normal file
View File

@ -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

3
.gitignore vendored
View File

@ -1,5 +1,8 @@
rpm/
pkgs/
.coverage
.coverage.*
htmlcov/
*.pyc
*.pyo
*~