view .coveragerc @ 7378:415cc651bd83

docs: upgrade: add section on updating git hooks Commit 39bdf0ab2862 has changed the Git hooks. When upgrading Kallithea to this commit, but not explicitly reinstalling the Git hooks, pushing to Git repos will fail. Add a section to the documentation to explain that a reinstall of the hooks may be needed, and how to do it.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Sat, 22 Sep 2018 21:29:22 +0200
parents 0acb46763886
children ddee465a345a
line wrap: on
line source

[run]
omit =
    # the bin scripts are not part of the Kallithea web app
    kallithea/bin/*
    # we ship with no active extensions
    kallithea/config/rcextensions/*
    # dbmigrate and paster_commands are not part of the Kallithea web app
    kallithea/lib/dbmigrate/*
    kallithea/lib/paster_commands/*
    # the tests themselves should not be part of the coverage report
    kallithea/tests/*
    # the scm hooks are not run in the kallithea process
    kallithea/config/post_receive_tmpl.py
    kallithea/config/pre_receive_tmpl.py

[paths]
source =
    kallithea/
    **/workspace/*/kallithea