view .coveragerc @ 7082:a385bbbae672

less: run lessc with --relative-urls so relative paths are rewritten 25e079891ff5 broke select2 - it did for example no longer display the search symbol in the input field. The css had a relative path to 'select2.png' which no longer was correct when the literal reference moved to style.css . Bootstrap had the same issue with '../fonts/glyphicons-halflings-regular.*' ... but we do not rely much on that. As a quick fix, just adjust the relative reference and keep pointing at the original location. A next step might be to copy files around in a cross platform compliant way, reliably at the right point in the development/build/install process.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 03 Jan 2018 03:41:21 +0100
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