[run]
source = astropy_helpers
omit =
   astropy_helpers/commands/_test_compat.py
   astropy_helpers/compat/*
   astropy_helpers/*/setup_package.py
   astropy_helpers/extern/*
   astropy_helpers/extern/*/*
   astropy_helpers/tests/*
   astropy_helpers/conftest.py
   */test_pkg/*

[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}
