[run]
omit =
  sunpy/conftest.py
  sunpy/*setup_package*
  sunpy/extern/*
  sunpy/version*
  */sunpy/conftest.py
  */sunpy/*setup_package*
  */sunpy/extern/*
  */sunpy/version*
disable_warnings =
  module-not-measured

[report]
exclude_lines =
  # Have to re-enable the standard pragma
  pragma: no cover
  # Don't complain about packages we have installed
  except ImportError
  # Don't complain if tests don't hit assertions
  raise AssertionError
  raise NotImplementedError
  # Don't complain about script hooks
  def main(.*):
  # Ignore branches that don't pertain to this version of Python
  pragma: py{ignore_python_version}
  # Don't complain about IPython completion helper
  def _ipython_key_completions_
  # typing.TYPE_CHECKING is False at runtime
  if TYPE_CHECKING:
  # Ignore typing overloads
  @overload
