class XmlReporter(AbstractXmlReporter): (source)
Public reporter that exports XML.
The produced XML files contain a reference to the absolute path of the html transform, so they will be locally viewable in a browser.
However, there is a bug in Chrome and all other WebKit-based browsers that makes it fail from file:// URLs but work on http:// URLs.
Method | on_file |
Undocumented |
Method | on_finish |
Undocumented |
Inherited from AbstractXmlReporter
:
Method | __init__ |
Undocumented |
Instance Variable | memory_xml |
Undocumented |
Inherited from AbstractReporter
(via AbstractXmlReporter
):
Instance Variable | output_dir |
Undocumented |
mypy.report.AbstractReporter.on_file
Undocumented
Parameters | |
tree:MypyFile | Undocumented |
modules:Dict[ | Undocumented |
type_map:Dict[ | Undocumented |
options:Options | Undocumented |