comparison .coveragerc @ 6535:7790b34a0cef

tests: add pytest-cov .coveragerc file When using pytest-cov this file can be used to configure the coverage report. See https://coverage.readthedocs.io/en/latest/config.html for details. So when you start py.test like this py.test --cov-config .coveragerc --cov=kallithea --cov-report xml the settings in this file will be used.
author domruf <dominikruf@gmail.com>
date Sun, 05 Mar 2017 15:17:56 +0100
parents
children 0acb46763886
comparison
equal deleted inserted replaced
6534:b8d7d1a51795 6535:7790b34a0cef
1 [run]
2 omit =
3 # the bin scripts are not part of the Kallithea web app
4 kallithea/bin/*
5 # we ship with no active extensions
6 kallithea/config/rcextensions/*
7 # dbmigrate and paster_commands are not part of the Kallithea web app
8 kallithea/lib/dbmigrate/*
9 kallithea/lib/paster_commands/*
10 # the tests themselves should not be part of the coverage report
11 kallithea/tests/*
12 # the scm hooks are not run in the kallithea process
13 kallithea/config/post_receive_tmpl.py
14 kallithea/config/pre_receive_tmpl.py