class documentation

class LinePrecisionReporter(AbstractReporter): (source)

View In Hierarchy

Report per-module line counts for typing precision. Each line is classified into one of these categories: * precise (fully type checked) * imprecise (Any types in a type component, such as List[Any]) * any (something with an Any type, implicit or explicit) * empty (empty line, comment or docstring) * unanalyzed (mypy considers line unreachable) The meaning of these categories varies slightly depending on context.

Method __init__ Undocumented
Method on_file Undocumented
Method on_finish Undocumented
Instance Variable files Undocumented

Inherited from AbstractReporter:

Instance Variable output_dir Undocumented
def __init__(self, reports: Reports, output_dir: str): (source)

Undocumented

def on_file(self, tree: MypyFile, modules: dict[str, MypyFile], type_map: dict[Expression, Type], options: Options): (source)

Undocumented

def on_finish(self): (source)

Undocumented