class BaseReporter: (source)
Known subclasses: pylint.reporters.CollectingReporter
, pylint.reporters.text.TextReporter
, pylint.testutils.GenericTestReporter
, pylint.testutils.MinimalTestReporter
, pylint.testutils.reporter_for_tests.FunctionalTestReporter
Base class for reporters. symbols: show short symbolic names for messages.
Method | __init__ |
Undocumented |
Method | display |
Hook for displaying the messages of the reporter. |
Method | display |
Display results encapsulated in the layout tree. |
Method | handle |
Handle a new message triggered on the current file. |
Method | on |
Hook called when a module finished analyzing. |
Method | on |
Hook called when a module starts to be analysed. |
Method | set |
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 | messages |
Undocumented |
Instance Variable | out |
Undocumented |
Instance Variable | path |
Undocumented |
Instance Variable | section |
Undocumented |
Method | _display |
Display the layout. |
pylint.reporters.CollectingReporter
, pylint.reporters.text.TextReporter
, pylint.testutils.GenericTestReporter
Undocumented
Hook for displaying the messages of the reporter. This will be called whenever the underlying messages needs to be displayed. For some reporters, it probably doesn't make sense to display messages as soon as they are available, so some mechanism of storing them could be used. This method can be implemented to display them after they've been aggregated.
pylint.testutils.GenericTestReporter
, pylint.testutils.reporter_for_tests.FunctionalTestReporter
Display results encapsulated in the layout tree.
pylint.reporters.text.TextReporter
, pylint.testutils.GenericTestReporter
, pylint.testutils.MinimalTestReporter
Hook called when a module starts to be analysed.
pylint.reporters.CollectingReporter
, pylint.testutils.GenericTestReporter
, pylint.testutils.MinimalTestReporter
Undocumented