class documentation

class GenericTestReporter(BaseReporter): (source)

View In Hierarchy

Reporter storing plain text messages.

Method __init__ Undocumented
Method display_reports Ignore layouts.
Method finalize Format and print messages in the context of the path.
Method handle_message Append messages to the list of messages of the reporter.
Method on_set_current_module Hook called when a module starts to be analysed.
Method reset Undocumented
Instance Variable messages Undocumented
Instance Variable out Undocumented
Instance Variable path_strip_prefix Undocumented
Method _display Display the layout.

Inherited from BaseReporter:

Method display_messages Hook for displaying the messages of the reporter.
Method on_close Hook called when a module finished analyzing.
Method set_output Set output stream.
Method writeln Write a line in the output buffer.
Class Variable extension Undocumented
Class Variable name Name of the reporter.
Instance Variable linter Undocumented
Instance Variable section Undocumented
def __init__(self): (source)
def display_reports(self, layout: Section): (source)
def finalize(self) -> str: (source)

Format and print messages in the context of the path.

def handle_message(self, msg: Message): (source)

Append messages to the list of messages of the reporter.

def on_set_current_module(self, module: str, filepath: str|None): (source)

Hook called when a module starts to be analysed.

def reset(self): (source)

Undocumented

messages: list[Message] = (source)
def _display(self, layout: Section): (source)

Display the layout.