Add coverage configuration for Distil

1. Add .coveragerc
2. Add coverage related files into .gitignore

Change-Id: I45a8cabb296595f42fe47fafddbd2fd56c132eb8
This commit is contained in:
Lingxian Kong 2017-06-06 22:21:18 +12:00
parent f44c8d0931
commit 613f6d79a5
2 changed files with 22 additions and 0 deletions

18
.coveragerc Normal file
View File

@ -0,0 +1,18 @@
[run]
branch = True
source = distil
omit =
.tox/*
distil/tests/*
distil/api/web.py
distil/auth.py
distil/database.py
distil/helpers.py
distil/initdb.py
distil/interface.py
distil/NoPickle.py
distil/rates.py
distil/transformers.py
[report]
ignore_errors = True

4
.gitignore vendored
View File

@ -42,5 +42,9 @@ bin/waitress-serve
local/
test_vm/
env/
AUTHORS
ChangeLog
.idea
.coverage
cover/*