Skip to content
stevepeak edited this page Oct 10, 2014 · 2 revisions

This document describes how to create your configuration file, for full documentation please visit http://nedbatchelder.com/code/coverage/config.html#config

If you are getting an error, like Coverage output error..., then please add a .coveragerc file to your repository.

Add a .coveragerc configuration file

[run]
branch = True
source = <project-name>
[report]
exclude_lines =
    pragma: no cover
    def __repr__
    if self\.debug
    raise AssertionError
    raise NotImplementedError
    if 0:
    if __name__ == .__main__.:
ignore_errors = True

Replace <project-name> with the folder(s) of your project. Learn more

Contact hello@codecov.io for further assistance if necessary.

Clone this wiki locally