def get_reports():
<EOL>if not hasattr(get_reports, '<STR_LIT>'):<EOL><INDENT>get_reports._CACHE = dict()<EOL>for entry in pkg_resources.iter_entry_points('<STR_LIT>'):<EOL><INDENT>try:<EOL><INDENT>get_reports._CACHE[entry.name] = entry.load()<EOL><DEDENT>except ImportError as exc:  <EOL><INDENT>output_error(<EOL>'<STR_LIT>' % (<EOL>entry,<EOL>entry.dist,<EOL>exc,<EOL>),<EOL>)<EOL><DEDENT><DEDENT><DEDENT>return get_reports._CACHE<EOL>
Retrieves the TidyPy issue reports that are available in the current Python
environment.

The returned dictionary has keys are the report names and values are the
report classes.

:rtype: dict