module documentation
(source)

Classes for producing HTML reports about imprecision.
Class ​Abstract​Reporter Undocumented
Class ​Abstract​Xml​Reporter Internal abstract class for reporters that work via XML.
Class ​Any​Expressions​Reporter Report frequencies of different kinds of Any types.
Class ​Cobertura​Package Container for XML and statistics mapping python modules to Cobertura package.
Class ​Cobertura​Xml​Reporter Reporter for generating Cobertura compliant XML.
Class ​File​Info Undocumented
Class ​Func​Counter​Visitor Undocumented
Class ​Line​Count​Reporter Undocumented
Class ​Line​Coverage​Reporter Exact line coverage reporter.
Class ​Line​Coverage​Visitor No class docstring; 0/2 instance variable, 1/3 method documented
Class ​Line​Precision​Reporter Report per-module line counts for typing precision.
Class ​Memory​Xml​Reporter Internal reporter that generates XML in memory.
Class ​Reports Undocumented
Class ​Xml​Reporter Public reporter that exports XML.
Class ​Xslt​Html​Reporter Public reporter that exports HTML via XSLT.
Class ​Xslt​Txt​Reporter Public reporter that exports TXT via XSLT.
Function alias​_reporter Undocumented
Function get​_line​_rate Undocumented
Function iterate​_python​_lines Return an iterator over (line number, line text) from a Python file.
Function register​_reporter Undocumented
Function should​_skip​_path Undocumented
Constant LXML​_INSTALLED Undocumented
Constant reporter​_classes Undocumented
Constant type​_of​_any​_name​_map Undocumented
Variable ​Reporter​Classes Undocumented
def alias_reporter(source_reporter, target_reporter): (source)

Undocumented

Parameters
source​_reporter:strUndocumented
target​_reporter:strUndocumented
def get_line_rate(covered_lines, total_lines): (source)

Undocumented

Parameters
covered​_lines:intUndocumented
total​_lines:intUndocumented
Returns
strUndocumented
def iterate_python_lines(path): (source)
Return an iterator over (line number, line text) from a Python file.
Parameters
path:strUndocumented
Returns
Iterator[Tuple[int, str]]Undocumented
def register_reporter(report_name, reporter, needs_lxml=False): (source)

Undocumented

Parameters
report​_name:strUndocumented
reporter:Callable[[Reports, str], AbstractReporter]Undocumented
needs​_lxml:boolUndocumented
def should_skip_path(path): (source)

Undocumented

Parameters
path:strUndocumented
Returns
boolUndocumented
LXML_INSTALLED: bool = (source)

Undocumented

Value
False
reporter_classes: ReporterClasses = (source)

Undocumented

Value
{}
type_of_any_name_map: collections.OrderedDict[int, str] = (source)

Undocumented

Value
collections.OrderedDict([(TypeOfAny.unannotated, 'Unannotated'),
                         (TypeOfAny.explicit, 'Explicit'),
                         (TypeOfAny.from_unimported_type, 'Unimported'),
                         (TypeOfAny.from_omitted_generics, 'Omitted Generics'),
                         (TypeOfAny.from_error, 'Error'),
                         (TypeOfAny.special_form, 'Special Form'),
                         (TypeOfAny.implementation_artifact, 'Implementation Art
...
ReporterClasses: _TypeAlias = (source)

Undocumented