[run]
branch = True
source = prevent_sleep

[paths]
source =
    src
    **/site-packages/prevent_sleep

[report]
fail_under = 60
precision = 3
exclude_lines =
    # Have to re-enable the standard pragma
    pragma: no cover

    # Don't complain if tests don't hit defensive assertion code:
    raise .*Internal error.*
    raise .*AbstractNotImplemented.*
    raise *\# Should not happen

partial_branches =
    # Have to re-enable the standard pragma
    pragma: no branch

omit =
    .nox/*
    test/*
    experiments
    *_flymake.py
    flycheck_*.py
