# Config file .coveragerc (parsed with str.format method)

[run]
relative_files = True
source = ${{COVERAGE_HOME}}
context = ${{COVERAGE_CONTEXT}}

[report]
include = {include_coverage}

omit =
    */scenario/*
    */scenarios/*
    */test/*
    */tests/*
    */migrations/*
    *migration*
    *_example/*
    *__init__.py
    *__openerp__.py
    *__manifest__.py
    ${{EXCLUDE_COVERAGE}}

# Regexes for lines to exclude from consideration
exclude_lines =
    # Have to re-enable the standard pragma
    pragma: no cover
    # Don't complain about null context checking
    if context is None:
    # Don't check obviously not implemented
    raise NotImplementedError
    # We don't really care what happens if fail
    except ImportError:

fail_under = ${{COVERAGE_MIN-0}}
precision = ${{COVERAGE_PRECISION-0}}

[html]
show_contexts=True
