[run]
source = astropy
omit =
   astropy/__init__*
   astropy/conftest.py
   astropy/*setup*
   astropy/*tests/*
   astropy/extern/*
   astropy/sphinx/*
   astropy/utils/compat/*
   astropy/version*
   astropy/wcs/docstrings*

[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}
   six.PY{ignore_python_version}