[run]
branch = True

[report]
fail_under = 100
show_missing = True
omit =
    google/cloud/bigquery/__init__.py
    google/cloud/bigquery_v2/*  # Legacy proto-based types.
exclude_lines =
    # Re-enable the standard pragma
    pragma: NO COVER
    # Ignore debug-only repr
    def __repr__
    # Ignore pkg_resources exceptions.
    # This is added at the module level as a safeguard for if someone
    # generates the code and tries to run it without pip installing. This
    # makes it virtually impossible to test properly.
    except pkg_resources.DistributionNotFound
