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

[run]
branch = true
source =
    bytesparse
    tests

[report]
show_missing = true
precision = 2
omit = *migrations*

exclude_lines =
    # Have to re-enable the standard pragma
    pragma: no cover

    # Don't complain if tests don't hit defensive assertion code:
    raise AssertionError
    raise NotImplementedError

    # Don't complain if non-runnable code isn't run:
    if 0:
    if 1:
    if __name__ == .__main__.:

    # Don't complain about abstract methods, they aren't run:
    @(abc\.)?abstractmethod
